aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorLibravatarLibravatar william <william@25tandclement.com> 2013-12-09 21:20:00 -0800
committerLibravatarLibravatar william <william@25tandclement.com> 2013-12-09 21:20:00 -0800
commit9db41e05d9a00eb906b530b38bcaaa068d40c88b (patch)
tree71312908cae28d36543f8881bc675f8867380eee /debian/rules
parentfbd452885694da66156e95f671ab364cfe157bef (diff)
downloadluaossl-9db41e05d9a00eb906b530b38bcaaa068d40c88b.tar.gz
luaossl-9db41e05d9a00eb906b530b38bcaaa068d40c88b.tar.bz2
luaossl-9db41e05d9a00eb906b530b38bcaaa068d40c88b.zip
add debian packaging files
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