From 9db41e05d9a00eb906b530b38bcaaa068d40c88b Mon Sep 17 00:00:00 2001 From: william Date: Mon, 9 Dec 2013 21:20:00 -0800 Subject: add debian packaging files --- debian/rules | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..10c05a8 --- /dev/null +++ b/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +CFLAGS := -O3 -g -fstack-protector --param=ssp-buffer-size=4 + +DESTDIR=debian/tmp +prefix=/usr +build=liblua5.1-openssl liblua5.2-openssl +install=$(addsuffix -install,$(build)) + +%: + dh $@ + +override_dh_auto_configure: + true + +override_dh_auto_build: + make DESTDIR=$(DESTDIR) prefix=$(prefix) $(build) + +override_dh_auto_install: + make DESTDIR=$(DESTDIR) prefix=$(prefix) $(install) + +override_dh_auto_clean: + make clean + +override_dh_auto_test: + true -- cgit v1.2.3-59-g8ed1b