[arch-commits] Commit in rrdtool/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Wed Nov 14 19:51:36 UTC 2012


    Date: Wednesday, November 14, 2012 @ 14:51:35
  Author: eric
Revision: 171010

upgpkg: rrdtool 1.4.7-3

Build against lua51

Modified:
  rrdtool/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-11-14 19:49:19 UTC (rev 171009)
+++ PKGBUILD	2012-11-14 19:51:35 UTC (rev 171010)
@@ -3,17 +3,17 @@
 
 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 @@
   # 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




More information about the arch-commits mailing list