mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 10:04:36 +08:00
rrdtool update
This commit is contained in:
parent
bfcbc9522d
commit
e82143d0f4
@ -1,36 +1,40 @@
|
||||
# $Id: PKGBUILD 79791 2010-05-07 14:12:03Z dan $
|
||||
# Maintainer: Eric Belanger <eric@archlinux.org>
|
||||
# Contributor: Tom K <tom@archlinux.org>
|
||||
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
||||
# Contributors from Arch: Eric Belanger <eric@archlinux.org>
|
||||
# Tom K <tom@archlinux.org>
|
||||
|
||||
pkgname=rrdtool
|
||||
pkgver=1.4.4
|
||||
pkgver=1.4.7
|
||||
pkgrel=1
|
||||
pkgdesc="Data logging and graphing application"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.rrdtool.org"
|
||||
license=('GPL')
|
||||
depends=('libpng' 'libxml2' 'pango')
|
||||
makedepends=('intltool' 'ruby' 'python2' 'tcl' 'lua')
|
||||
makedepends=('intltool' 'ruby' 'python2' 'tcl' 'lua' 'groff')
|
||||
optdepends=('tcl: to use corresponding binding' \
|
||||
'python2: to use corresponding binding' \
|
||||
'ruby: to use corresponding binding' \
|
||||
'lua: to use corresponding binding')
|
||||
options=('!libtool' '!emptydirs' '!makeflags')
|
||||
source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz)
|
||||
md5sums=('93ad2fc2e9ddcd7d99c611fe30284a54')
|
||||
sha1sums=('faab7df7696b69f85d6f89dd9708d7cf0c9a273b')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
# make ruby install to vendor_ruby instead of site_ruby (reported: https://bugs.archlinux.org/task/28521)
|
||||
sed -e 's/$(RUBY) extconf.rb/& --vendor/' -i bindings/Makefile.in
|
||||
|
||||
./configure --prefix=/usr --localstatedir=/var --disable-rpath --enable-perl \
|
||||
--enable-perl-site-install --with-perl-options='INSTALLDIRS=vendor' \
|
||||
--enable-ruby --enable-ruby-site-install --enable-python \
|
||||
--enable-lua --enable-lua-site-install \
|
||||
--enable-tcl || return 1
|
||||
make || return 1
|
||||
--enable-tcl --disable-libwrap
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" LIBRUBYARG_SHARED="-Wl,-L/usr/lib -lruby" \
|
||||
LIBPATH="-L. -L/usr/lib -L../../src/.libs" install || return 1
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user