From b8a53d8fdd46dd8064faf199c9c8dcebfdbceffb Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Fri, 19 Nov 2010 03:37:27 +0000 Subject: rrdtool: upgrade --- abs/extra/rrdtool/ChangeLog | 54 +++++++++++++++++++++++++++++++++++++++++++++ abs/extra/rrdtool/PKGBUILD | 44 ++++++++++++++++++++++-------------- 2 files changed, 81 insertions(+), 17 deletions(-) diff --git a/abs/extra/rrdtool/ChangeLog b/abs/extra/rrdtool/ChangeLog index f289390..10d12b8 100644 --- a/abs/extra/rrdtool/ChangeLog +++ b/abs/extra/rrdtool/ChangeLog @@ -1,3 +1,57 @@ +2010-08-19 Eric Belanger + + * rrdtool 1.4.4-2 + * Rebuilt for python2 + +2010-08-12 Eric Belanger + + * rrdtool 1.4.4-1 + * Upstream update + * Corrected license + * Removed old patch + +2010-04-29 Eric Belanger + + * rrdtool 1.4.3-1 + * Upstream update + * Cleaned up depends + * Specified localstatedir + +2010-01-18 Eric Belanger + + * rrdtool 1.4.2-2 + * Rebuilt for libpng 1.4 and libjpeg 8 + +2010-01-01 Eric Belanger + + * rrdtool 1.4.2-1 + * Upstream update + +2009-11-07 Eric Belanger + + * rrdtool 1.4.1-1 + * Upstream update + * Added lua binding + * Fixed optdepends array syntax (close FS#16053) + * Disabled rpath + +2009-05-21 Eric Belanger + + * rrdtool 1.3.8-1 + * Upstream update + * Added intltool makedepends + +2009-05-02 Eric Belanger + + * rrdtool 1.3.7-1.1 + * Disabled SMP build + * Added missing ruby binding for x86_64 (close FS#14539) + +2009-04-08 Eric Belanger + + * rrdtool 1.3.7-1 + * Upstream update + 2009-01-21 Eric Belanger * rrdtool 1.3.6-1 diff --git a/abs/extra/rrdtool/PKGBUILD b/abs/extra/rrdtool/PKGBUILD index 9d67224..d22d133 100644 --- a/abs/extra/rrdtool/PKGBUILD +++ b/abs/extra/rrdtool/PKGBUILD @@ -1,29 +1,39 @@ -# $Id: PKGBUILD 24808 2009-01-21 07:19:42Z eric $ +# $Id: PKGBUILD 88191 2010-08-21 01:59:03Z eric $ # Maintainer: Eric Belanger # Contributor: Tom K pkgname=rrdtool -pkgver=1.3.6 -pkgrel=7 +pkgver=1.4.4 +pkgrel=2 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=('python' 'tcl' 'ruby') -optdepends=('tcl, python and/or ruby: to use corresponding binding') -options=('!libtool' '!emptydirs') +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') +changelog=ChangeLog source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz) -md5sums=('afaabd5a60115581e866efbac796d307') -sha1sums=('4a8499ab58dfd37419bf1cb2429a29da9bc782c3') +md5sums=('93ad2fc2e9ddcd7d99c611fe30284a54') +sha1sums=('e4715c13f2a6fd077c54911d396eb573788377b0') 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 + cd "${srcdir}/${pkgname}-${pkgver}" + ./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 + make +} - find ${pkgdir} -name '.packlist' -delete - find ${pkgdir} -name 'perllocal.pod' -delete +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" LIBRUBYARG_SHARED="-Wl,-L/usr/lib -lruby" \ + LIBPATH="-L. -L/usr/lib -L../../src/.libs" install + install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -- cgit v0.12