summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/libraries/libtqt-perl
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/libraries/libtqt-perl')
-rwxr-xr-xubuntu/maverick/libraries/libtqt-perl/debian/rules3
-rw-r--r--ubuntu/maverick/libraries/libtqt-perl/debian/source/options4
2 files changed, 5 insertions, 2 deletions
diff --git a/ubuntu/maverick/libraries/libtqt-perl/debian/rules b/ubuntu/maverick/libraries/libtqt-perl/debian/rules
index 7bf57d40b..1d77c70fc 100755
--- a/ubuntu/maverick/libraries/libtqt-perl/debian/rules
+++ b/ubuntu/maverick/libraries/libtqt-perl/debian/rules
@@ -32,6 +32,9 @@ DEB_MAKE_INSTALL_TARGET := install \
PREFIX=$(CURDIR)/debian/libtqt-perl/usr \
SITEPREFIX=$(CURDIR)/debian/libtqt-perl/usr \
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
pre-build:: pre-build-stamp
pre-build-stamp:
diff --git a/ubuntu/maverick/libraries/libtqt-perl/debian/source/options b/ubuntu/maverick/libraries/libtqt-perl/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/maverick/libraries/libtqt-perl/debian/source/options
+++ b/ubuntu/maverick/libraries/libtqt-perl/debian/source/options
@@ -1,5 +1,5 @@
-# Use bzip2 instead of gzip
-compression = "bzip2"
+# Use xz instead of gzip
+compression = "xz"
compression-level = 9
# Don't run differences