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