summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3edbabe)
raw | patch | inline | side by side (parent: 3edbabe)
author | Bernd Zeimetz <bernd@bzed.de> | |
Fri, 25 Sep 2009 21:37:51 +0000 (23:37 +0200) | ||
committer | Bernd Zeimetz <bernd@bzed.de> | |
Fri, 25 Sep 2009 21:37:51 +0000 (23:37 +0200) |
debian/rules | patch | blob | history |
diff --git a/debian/rules b/debian/rules
index 08677642a0aa4479f5c4484865b32b48fd45ab0d..86d0382479b7b494a855b1970da2832f53152879 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
TCL_VERS := $(shell dpkg -s tcl-dev | grep '^Depends' \
| sed 's,.*\<tcl\([0-9.]*\)-dev\>.*,\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)
#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)))
LDFLAGS="$(LINKER_FLAGS)" \
CFLAGS="$(CFLAGS)" \
RRDDOCDIR=/usr/share/doc/rrdtool \
+ LUA=$(LUA) \
./configure $(CONFFLAGS)
build: build-arch build-indep