diff options
-rw-r--r-- | abs/extra-testing/rrdtool/ChangeLog | 13 | ||||
-rw-r--r-- | abs/extra-testing/rrdtool/PKGBUILD | 29 |
2 files changed, 42 insertions, 0 deletions
diff --git a/abs/extra-testing/rrdtool/ChangeLog b/abs/extra-testing/rrdtool/ChangeLog new file mode 100644 index 0000000..f289390 --- /dev/null +++ b/abs/extra-testing/rrdtool/ChangeLog @@ -0,0 +1,13 @@ +2009-01-21 Eric Belanger <eric@archlinux.org> + + * rrdtool 1.3.6-1 + * Upstream update + +2009-01-02 Eric Belanger <eric@archlinux.org> + + * rrdtool 1.3.5-1 + * Upstream update + * Replaced install scriptlet by optdepends + * Added libxml2 and pango depends + * Libtool slayed + * Added ChangeLog diff --git a/abs/extra-testing/rrdtool/PKGBUILD b/abs/extra-testing/rrdtool/PKGBUILD new file mode 100644 index 0000000..b2c42e3 --- /dev/null +++ b/abs/extra-testing/rrdtool/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 24808 2009-01-21 07:19:42Z eric $ +# Maintainer: Eric Belanger <eric@archlinux.org> +# Contributor: Tom K <tom@archlinux.org> + +pkgname=rrdtool +pkgver=1.3.6 +pkgrel=1 +pkgdesc="Data logging and graphing application" +arch=('i686' 'x86_64') +url="http://www.rrdtool.org" +license=('GPL') +depends=('libart-lgpl' 'libpng' 'freetype2' 'libxml2' 'pango') +makedepends=('ruby' 'python' 'tcl') +optdepends=('tcl, python and/or ruby: to use corresponding binding') +options=('!libtool' '!emptydirs') +source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz) +md5sums=('afaabd5a60115581e866efbac796d307') +sha1sums=('4a8499ab58dfd37419bf1cb2429a29da9bc782c3') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --enable-perl-site-install \ + --with-perl-options='INSTALLDIRS=vendor' --enable-ruby-site-install || return 1 + make || return 1 + make DESTDIR=${pkgdir} install || return 1 + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name 'perllocal.pod' -delete +} |