From 06ef6a573e296977f34f9153039a377fb96c407b Mon Sep 17 00:00:00 2001 From: Bernd Zeimetz Date: Sat, 26 Sep 2009 01:46:16 +0200 Subject: [PATCH] More Lua binding stuff. --- debian/control | 18 ++++++++++++++++-- debian/liblua5.1-rrd-dev.install | 3 +++ debian/liblua5.1-rrd0.install | 2 ++ debian/rules | 7 ++----- 4 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 debian/liblua5.1-rrd-dev.install create mode 100644 debian/liblua5.1-rrd0.install diff --git a/debian/control b/debian/control index 40eb9fd..4369ea1 100644 --- a/debian/control +++ b/debian/control @@ -207,11 +207,11 @@ Description: time-series data storage and display system (Ruby 1.9 interface) . This package contains a Ruby 1.9 interface to RRDs. -Package: liblua5.1-rrd +Package: liblua5.1-rrd0 Architecture: any Section: interpreters Depends: ${shlibs:Depends}, ${misc:Depends} -Description: time-series data storage and display system (Ruby 1.9 interface) +Description: time-series data storage and display system (Lua 5.1 interface) The Round Robin Database Tool (RRDtool) is a system to store and display time-series data (e.g. network bandwidth, machine-room temperature, server load average). It stores the data in Round Robin Databases (RRDs), @@ -220,3 +220,17 @@ Description: time-series data storage and display system (Ruby 1.9 interface) graphical representation of data values. . This package contains a Lua 5.1 interface to RRDs. + +Package: liblua5.1-rrd-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends}, liblua5.1-rrd0 (= ${binary:Version}) +Description: time-series data storage and display system (Lua 5.1 interface) + The Round Robin Database Tool (RRDtool) is a system to store and display + time-series data (e.g. network bandwidth, machine-room temperature, + server load average). It stores the data in Round Robin Databases (RRDs), + a very compact way that will not expand over time. RRDtool processes the + extracted data to enforce a certain data density, allowing for useful + graphical representation of data values. + . + This package contains development files for the Lua 5.1 interface to RRDs. diff --git a/debian/liblua5.1-rrd-dev.install b/debian/liblua5.1-rrd-dev.install new file mode 100644 index 0000000..fa54e3d --- /dev/null +++ b/debian/liblua5.1-rrd-dev.install @@ -0,0 +1,3 @@ +usr/lib/lua/5.1/rrd.a +usr/lib/lua/5.1/rrd.so +usr/lib/lua/5.1/rrd.la diff --git a/debian/liblua5.1-rrd0.install b/debian/liblua5.1-rrd0.install new file mode 100644 index 0000000..4d4517b --- /dev/null +++ b/debian/liblua5.1-rrd0.install @@ -0,0 +1,2 @@ +usr/lib/lua/5.1/rrd.so.0 +usr/lib/lua/5.1/rrd.so.0.0.0 diff --git a/debian/rules b/debian/rules index 86d0382..91816b5 100755 --- a/debian/rules +++ b/debian/rules @@ -18,7 +18,7 @@ PY_VERS := $(shell pyversions -vr) TCL_VERS := $(shell dpkg -s tcl-dev | grep '^Depends' \ | sed 's,.*\.*,\1,') -LUA = /usr/bin/lua5.1 +LUA = lua5.1 #let's help configure to figure out our host/build system DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) @@ -43,9 +43,6 @@ 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))) @@ -73,7 +70,7 @@ endif LDFLAGS="$(LINKER_FLAGS)" \ CFLAGS="$(CFLAGS)" \ RRDDOCDIR=/usr/share/doc/rrdtool \ - LUA=$(LUA) \ + LUA=/usr/bin/$(LUA) \ ./configure $(CONFFLAGS) build: build-arch build-indep -- 2.30.2