summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/kstreamripper/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/applications/kstreamripper/debian/rules')
-rwxr-xr-xubuntu/precise/applications/kstreamripper/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubuntu/precise/applications/kstreamripper/debian/rules b/ubuntu/precise/applications/kstreamripper/debian/rules
index 9f641b49a..88540f9bf 100755
--- a/ubuntu/precise/applications/kstreamripper/debian/rules
+++ b/ubuntu/precise/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::