summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/dependencies/avahi-tqt/debian
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/precise/dependencies/avahi-tqt/debian')
-rw-r--r--ubuntu/precise/dependencies/avahi-tqt/debian/control1
-rwxr-xr-xubuntu/precise/dependencies/avahi-tqt/debian/rules17
-rw-r--r--ubuntu/precise/dependencies/avahi-tqt/debian/source/options4
3 files changed, 15 insertions, 7 deletions
diff --git a/ubuntu/precise/dependencies/avahi-tqt/debian/control b/ubuntu/precise/dependencies/avahi-tqt/debian/control
index 8b0c55500..b4838d2b0 100644
--- a/ubuntu/precise/dependencies/avahi-tqt/debian/control
+++ b/ubuntu/precise/dependencies/avahi-tqt/debian/control
@@ -5,6 +5,7 @@ Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
XSBC-Original-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uploaders: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends: debhelper,
+ cdbs,
pkg-config,
python-support (>= 0.6),
libglib2.0-dev (>= 2.4),
diff --git a/ubuntu/precise/dependencies/avahi-tqt/debian/rules b/ubuntu/precise/dependencies/avahi-tqt/debian/rules
index c3ea0343f..54a22a44f 100755
--- a/ubuntu/precise/dependencies/avahi-tqt/debian/rules
+++ b/ubuntu/precise/dependencies/avahi-tqt/debian/rules
@@ -1,17 +1,24 @@
#!/usr/bin/make -f
-%:
- dh $@
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
# Ensure at build time that the library has no dependencies on undefined
# symbols, and speed up loading.
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1
-override_dh_auto_configure:
- ./autogen.sh
- dh_auto_configure -- $(CONFFLAGS) \
+DEB_CONFIGURE_EXTRA_FLAGS += \
--enable-compat-libdns_sd \
--disable-mono --disable-monodoc \
--disable-gtk3 \
--with-systemdsystemunitdir=/lib/systemd/system
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+post-patches:: debian/stamp-bootstrap
+
+debian/stamp-bootstrap:
+ ./autogen.sh
+ rm ./ChangeLog
+ touch debian/stamp-bootstrap
diff --git a/ubuntu/precise/dependencies/avahi-tqt/debian/source/options b/ubuntu/precise/dependencies/avahi-tqt/debian/source/options
index 9d7c8e036..72f1f5450 100644
--- a/ubuntu/precise/dependencies/avahi-tqt/debian/source/options
+++ b/ubuntu/precise/dependencies/avahi-tqt/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