diff options
author | root <root@rshg047.dnsready.net> | 2011-07-16 05:34:06 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-16 05:34:06 +0000 |
commit | 7500119d8dd5fc921f91aac8222e472477973740 (patch) | |
tree | a2cd26c3dd70d079a9f97fc3d5549ea649baf863 /testing/rrdtool | |
parent | 76c26b027d797f3671bf0b6c6618eda2496cf88d (diff) |
Sat Jul 16 05:34:06 UTC 2011
Diffstat (limited to 'testing/rrdtool')
-rw-r--r-- | testing/rrdtool/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/rrdtool/PKGBUILD b/testing/rrdtool/PKGBUILD new file mode 100644 index 000000000..2395df342 --- /dev/null +++ b/testing/rrdtool/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 131818 2011-07-15 23:27:54Z dan $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=rrdtool +pkgver=1.4.5 +pkgrel=3 +pkgdesc="Data logging and graphing application" +arch=('i686' 'x86_64') +url="http://www.rrdtool.org" +license=('GPL' 'custom') +depends=('libpng' 'libxml2' 'pango') +makedepends=('intltool' 'ruby' 'python2' 'tcl' 'lua') +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=('4d116dba9a0888d8aaac179e35d3980a') +sha1sums=('56638e8aedd5d5522152e86746e382b75dc48c35') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|-lrrd|-lrrd -L/usr/lib/perl5/core_perl/CORE/ -lperl -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE |' \ + bindings/perl-shared/Makefile.PL + ./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 --disable-libwrap + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |