aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules26
1 files changed, 26 insertions, 0 deletions
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