diff options
author | B Stack <bgstack15@gmail.com> | 2019-01-26 15:31:03 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-01-26 15:31:03 +0000 |
commit | 01a9822e17e555568a7f3a8b5b5ad50d5599489f (patch) | |
tree | 7c68e36b9837419160b727908216c1045e42eb47 /palemoon/debian/rules | |
parent | palemoon 28.3.1 (diff) | |
download | stackrpms-01a9822e17e555568a7f3a8b5b5ad50d5599489f.tar.gz stackrpms-01a9822e17e555568a7f3a8b5b5ad50d5599489f.tar.bz2 stackrpms-01a9822e17e555568a7f3a8b5b5ad50d5599489f.zip |
Palemoon dpkg for devuan
Diffstat (limited to 'palemoon/debian/rules')
-rwxr-xr-x | palemoon/debian/rules | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/palemoon/debian/rules b/palemoon/debian/rules new file mode 100755 index 0000000..527fae9 --- /dev/null +++ b/palemoon/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f + +export SHELL=/bin/bash + +%: + dh $@ + +override_dh_auto_clean: + rm -f mozconfig + dh_auto_clean + find . -name '*.pyc' -delete + +override_dh_auto_configure: + cp debian/mozconfig mozconfig + +override_dh_auto_build: + make -f client.mk build + +override_dh_auto_install: + make -f client.mk DESTDIR=$$(pwd)/debian/palemoon prefix=/usr \ + installdir=/usr/lib/palemoon \ + sdkdir=/usr/lib/palemoon-devel install + rm -rf $$(pwd)/debian/palemoon/usr/share/idl + rm -rf $$(pwd)/debian/palemoon/usr/lib/palemoon-devel + rm -rf $$(pwd)/debian/palemoon/usr/include +# remove vestigial duplicate file + rm -rf $$(pwd)/debian/palemoon/usr/lib/palemoon/palemoon-bin + +override_dh_shlibdeps: + dh_shlibdeps -l /usr/lib/palemoon |