summaryrefslogtreecommitdiff
path: root/extra/rrdtool
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rrdtool')
-rw-r--r--extra/rrdtool/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/extra/rrdtool/PKGBUILD b/extra/rrdtool/PKGBUILD
index ae45fdf62..1594310ab 100644
--- a/extra/rrdtool/PKGBUILD
+++ b/extra/rrdtool/PKGBUILD
@@ -1,19 +1,19 @@
-# $Id: PKGBUILD 160575 2012-06-02 10:28:55Z bluewind $
+# $Id: PKGBUILD 173178 2012-12-12 00:32:02Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=rrdtool
pkgver=1.4.7
-pkgrel=2
+pkgrel=3
pkgdesc="Data logging and graphing application"
arch=('i686' 'x86_64')
url="http://www.rrdtool.org"
license=('GPL' 'custom')
depends=('libxml2' 'pango' 'ttf-dejavu')
-makedepends=('intltool' 'ruby' 'python2' 'tcl' 'lua')
+makedepends=('intltool' 'ruby' 'python2' 'tcl' 'lua51')
optdepends=('tcl: to use corresponding binding' \
'python2: to use corresponding binding' \
'ruby: to use corresponding binding' \
- 'lua: 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')
@@ -24,7 +24,9 @@ build() {
# fix FS#28521 make ruby install to vendor_ruby instead of site_ruby
sed -e 's/$(RUBY) extconf.rb/& --vendor/' -i bindings/Makefile.in
- PYTHON=python2 ./configure --prefix=/usr --localstatedir=/var --disable-rpath \
+ 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