From f24915471ea396c53670df51b2affc4af74373bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 15 Sep 2013 20:29:47 +0200 Subject: Switch patch system from simple to quilt on Debian and Ubuntu --- ubuntu/precise/applications/piklab/debian/control | 2 +- ubuntu/precise/applications/piklab/debian/patches/.gitignore | 0 ubuntu/precise/applications/piklab/debian/patches/series | 0 ubuntu/precise/applications/piklab/debian/rules | 9 ++++----- 4 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 ubuntu/precise/applications/piklab/debian/patches/.gitignore create mode 100644 ubuntu/precise/applications/piklab/debian/patches/series (limited to 'ubuntu/precise/applications/piklab/debian') diff --git a/ubuntu/precise/applications/piklab/debian/control b/ubuntu/precise/applications/piklab/debian/control index e36481273..7864a446b 100644 --- a/ubuntu/precise/applications/piklab/debian/control +++ b/ubuntu/precise/applications/piklab/debian/control @@ -2,7 +2,7 @@ Source: piklab-trinity Section: electronics Priority: extra Maintainer: Timothy Pearson -Build-Depends: debhelper (>= 5), autotools-dev, quilt, chrpath, +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, quilt, chrpath, libusb-dev, tdelibs14-trinity-dev, libreadline5-dev | libreadline6-dev, automake, autoconf, libtool, libltdl-dev Standards-Version: 3.8.4 Homepage: http://piklab.sourceforge.net/ diff --git a/ubuntu/precise/applications/piklab/debian/patches/.gitignore b/ubuntu/precise/applications/piklab/debian/patches/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/ubuntu/precise/applications/piklab/debian/patches/series b/ubuntu/precise/applications/piklab/debian/patches/series new file mode 100644 index 000000000..e69de29bb diff --git a/ubuntu/precise/applications/piklab/debian/rules b/ubuntu/precise/applications/piklab/debian/rules index 6d0a1d510..d15b8b977 100755 --- a/ubuntu/precise/applications/piklab/debian/rules +++ b/ubuntu/precise/applications/piklab/debian/rules @@ -26,7 +26,9 @@ else CFLAGS += -O2 endif -config: config-stamp +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +config: post-patches config-stamp config-stamp: configure dh_testdir @@ -39,8 +41,6 @@ config-stamp: configure make -f admin/Makefile.common cvs touch debian/stamp-bootstrap - $(MAKE) -f /usr/share/quilt/quilt.make patch - ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif @@ -62,7 +62,7 @@ build-stamp: config-stamp #docbook-to-man debian/piklab.sgml > piklab.1 touch $@ -clean: +clean:: dh_testdir dh_testroot @@ -80,7 +80,6 @@ clean: rm -f po/*.gmo rm -f src/common/global/svn_revision/svn_revision.h rm -f config.sub config.guess config.status config.log - $(MAKE) -f /usr/share/quilt/quilt.make unpatch dh_clean install: build-stamp -- cgit v1.2.1