diff options
author | william <william@25tandclement.com> | 2013-12-09 21:20:00 -0800 |
---|---|---|
committer | william <william@25tandclement.com> | 2013-12-09 21:20:00 -0800 |
commit | 9db41e05d9a00eb906b530b38bcaaa068d40c88b (patch) | |
tree | 71312908cae28d36543f8881bc675f8867380eee /debian/rules | |
parent | fbd452885694da66156e95f671ab364cfe157bef (diff) | |
download | luaossl-9db41e05d9a00eb906b530b38bcaaa068d40c88b.tar.gz luaossl-9db41e05d9a00eb906b530b38bcaaa068d40c88b.tar.bz2 luaossl-9db41e05d9a00eb906b530b38bcaaa068d40c88b.zip |
add debian packaging files
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 26 |
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 @@ | |||
1 | #!/usr/bin/make -f | ||
2 | |||
3 | CFLAGS := -O3 -g -fstack-protector --param=ssp-buffer-size=4 | ||
4 | |||
5 | DESTDIR=debian/tmp | ||
6 | prefix=/usr | ||
7 | build=liblua5.1-openssl liblua5.2-openssl | ||
8 | install=$(addsuffix -install,$(build)) | ||
9 | |||
10 | %: | ||
11 | dh $@ | ||
12 | |||
13 | override_dh_auto_configure: | ||
14 | true | ||
15 | |||
16 | override_dh_auto_build: | ||
17 | make DESTDIR=$(DESTDIR) prefix=$(prefix) $(build) | ||
18 | |||
19 | override_dh_auto_install: | ||
20 | make DESTDIR=$(DESTDIR) prefix=$(prefix) $(install) | ||
21 | |||
22 | override_dh_auto_clean: | ||
23 | make clean | ||
24 | |||
25 | override_dh_auto_test: | ||
26 | true | ||