From: Bernd Zeimetz Date: Fri, 25 Sep 2009 21:37:51 +0000 (+0200) Subject: Build lua extension in debian/rules. X-Git-Tag: experimental/1.4--rc2+20091004~26 X-Git-Url: https://git.tokkee.org/?p=pkg-rrdtool.git;a=commitdiff_plain;h=afd590e45322aa883a5a24d1e6e3b6ac73c01680 Build lua extension in debian/rules. --- diff --git a/debian/rules b/debian/rules index 0867764..86d0382 100755 --- a/debian/rules +++ b/debian/rules @@ -18,6 +18,7 @@ PY_VERS := $(shell pyversions -vr) TCL_VERS := $(shell dpkg -s tcl-dev | grep '^Depends' \ | sed 's,.*\.*,\1,') +LUA = /usr/bin/lua5.1 #let's help configure to figure out our host/build system DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) @@ -42,6 +43,9 @@ CONFFLAGS += --with-perl-options=INSTALLDIRS=vendor #path to tcl CONFFLAGS += --with-tcllib=/usr/lib/tcl$(TCL_VERS) +#enable lua installation +CONFFLAGS += --enable-lua-site-install + #let's take care of optimization + debug builds CFLAGS += -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) @@ -69,6 +73,7 @@ endif LDFLAGS="$(LINKER_FLAGS)" \ CFLAGS="$(CFLAGS)" \ RRDDOCDIR=/usr/share/doc/rrdtool \ + LUA=$(LUA) \ ./configure $(CONFFLAGS) build: build-arch build-indep