diff options
Diffstat (limited to 'extra/rrdtool/PKGBUILD')
-rw-r--r-- | extra/rrdtool/PKGBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/extra/rrdtool/PKGBUILD b/extra/rrdtool/PKGBUILD index 13b3c4a87..63c931ff8 100644 --- a/extra/rrdtool/PKGBUILD +++ b/extra/rrdtool/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 188995 2013-06-28 01:52:37Z eric $ +# $Id: PKGBUILD 197422 2013-10-25 19:15:13Z eric $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=rrdtool pkgver=1.4.8 -pkgrel=1 +pkgrel=2 pkgdesc="Data logging and graphing application" arch=('i686' 'x86_64') url="http://www.rrdtool.org" @@ -14,22 +14,24 @@ optdepends=('tcl: to use corresponding binding' \ 'python2: to use corresponding binding' \ 'ruby: to use corresponding binding' \ 'lua51: to use corresponding binding') -options=('!libtool' '!emptydirs' '!makeflags') +options=('!emptydirs' '!makeflags') source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz - rrdtool-pangofont.patch) + rrdtool-pangofont.patch rrdtool-systemd.patch) sha1sums=('56d68857f39e70bfa32360947614d8220702ed02' - '8c600285bdab7776c1d5301df7cf486d69eae048') + '8c600285bdab7776c1d5301df7cf486d69eae048' + '963b600f8056d85305b6ff4554fa1e7b9b5a4ae1') prepare() { cd ${pkgname}-${pkgver} # fix FS#28521 make ruby install to vendor_ruby instead of site_ruby - sed -e 's/$(RUBY) extconf.rb/& --vendor/' -i bindings/Makefile.in - patch -p1 -i ../rrdtool-pangofont.patch + sed -e 's/$(RUBY) extconf.rb/& --vendor/' -i bindings/Makefile.am + patch -p1 -i "${srcdir}/rrdtool-pangofont.patch" + patch -p1 -i "${srcdir}/rrdtool-systemd.patch" } build() { cd ${pkgname}-${pkgver} - autoconf + autoreconf PYTHON=python2 LUA=/usr/bin/lua5.1 \ LUA_CFLAGS="-I/usr/include/lua5.1 -llua5.1" LUA_INSTALL_CMOD="/usr/lib/lua/5.1" \ ./configure --prefix=/usr --localstatedir=/var --disable-rpath \ |