summaryrefslogtreecommitdiffstats
path: root/debian/wheezy/applications/kstreamripper
diff options
context:
space:
mode:
Diffstat (limited to 'debian/wheezy/applications/kstreamripper')
-rwxr-xr-xdebian/wheezy/applications/kstreamripper/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/wheezy/applications/kstreamripper/debian/rules b/debian/wheezy/applications/kstreamripper/debian/rules
index 9f641b49a..88540f9bf 100755
--- a/debian/wheezy/applications/kstreamripper/debian/rules
+++ b/debian/wheezy/applications/kstreamripper/debian/rules
@@ -2,6 +2,9 @@
include /usr/share/cdbs/1/rules/debhelper.mk
#DEB_INSTALL_MANPAGES_kstreamripper-trinity:=debian/kstreamripper.1
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
PATH := /opt/trinity/bin:$(PATH)
build/kstreamripper-trinity::