summaryrefslogtreecommitdiff
path: root/extra/rrdtool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rrdtool/PKGBUILD')
-rw-r--r--extra/rrdtool/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/rrdtool/PKGBUILD b/extra/rrdtool/PKGBUILD
index 1f8a9b70a..3c78759bd 100644
--- a/extra/rrdtool/PKGBUILD
+++ b/extra/rrdtool/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 186426 2013-05-26 09:26:05Z bluewind $
+# $Id: PKGBUILD 188995 2013-06-28 01:52:37Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=rrdtool
-pkgver=1.4.7
-pkgrel=7
+pkgver=1.4.8
+pkgrel=1
pkgdesc="Data logging and graphing application"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.rrdtool.org"
@@ -15,24 +15,28 @@ optdepends=('tcl: to use corresponding binding' \
'ruby: to use corresponding binding' \
'lua51: to use corresponding binding')
options=('!libtool' '!emptydirs' '!makeflags')
-source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz)
-sha1sums=('faab7df7696b69f85d6f89dd9708d7cf0c9a273b')
+source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz
+ rrdtool-pangofont.patch)
+sha1sums=('56d68857f39e70bfa32360947614d8220702ed02'
+ '8c600285bdab7776c1d5301df7cf486d69eae048')
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
}
build() {
cd ${pkgname}-${pkgver}
+ autoconf
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 \
--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
+ make LIBS+="-lglib-2.0"
}
package() {