From 04e0ce7bb9c8e5be9a13569a21255fb321fb184e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 8 Dec 2012 19:08:13 +0100 Subject: Switch avahi-tqt packaging to cdbs on Debian and Ubuntu --- ubuntu/precise/dependencies/avahi-tqt/debian/control | 1 + ubuntu/precise/dependencies/avahi-tqt/debian/rules | 14 +++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'ubuntu/precise/dependencies') 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 XSBC-Original-Maintainer: Ubuntu Developers Uploaders: Timothy Pearson 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..d4694a4bf 100755 --- a/ubuntu/precise/dependencies/avahi-tqt/debian/rules +++ b/ubuntu/precise/dependencies/avahi-tqt/debian/rules @@ -1,17 +1,21 @@ #!/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 +post-patches:: debian/stamp-bootstrap + +debian/stamp-bootstrap: + ./autogen.sh + rm ./ChangeLog + touch debian/stamp-bootstrap -- cgit v1.2.1