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