[SCM] pd-iemlib/master: Use CDBS

zmoelnig-guest at users.alioth.debian.org zmoelnig-guest at users.alioth.debian.org
Sat Nov 30 16:02:45 UTC 2013


The following commit has been merged in the master branch:
commit 6f20ea91df393c5ca996bda05a2e183e54977986
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Sat Nov 30 16:51:39 2013 +0100

    Use CDBS

diff --git a/debian/control b/debian/control.in
similarity index 96%
copy from debian/control
copy to debian/control.in
index e076dbf..56d6673 100644
--- a/debian/control
+++ b/debian/control.in
@@ -2,7 +2,7 @@ Source: pd-iemlib
 Priority: optional
 Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
 Uploaders: IOhannes m zmölnig <zmoelnig at iem.at>
-Build-Depends: debhelper (>= 9),
+Build-Depends: @cdbs@,
  puredata-dev
 Standards-Version: 3.9.5
 Section: sound
diff --git a/debian/rules b/debian/rules
index baf5105..e088856 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,36 +16,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-## use hardening flags
-DPKG_EXPORT_BUILDFLAGS = 1
-export DEB_BUILD_MAINT_OPTIONS
-include /usr/share/dpkg/buildflags.mk
-
-
-%:
-	dh $@
-
-override_dh_auto_build:
-	dh_auto_build -- \
-		PDSOURCE=/usr/include/pd \
-		CFLAGS="$(CFLAGS)" \
-		LDFLAGS="$(LDFLAGS)"
-
-override_dh_auto_install:
-	# nada, we install via debian/*.install
-
-
-override_dh_shlibdeps:
-	find debian/pd-iemlib -name "*.pd_linux" -exec \
-		dpkg-shlibdeps -Tdebian/pd-iemlib.substvars {} +
-
-override_dh_strip:
-	dh_strip
-	find debian -name "*.pd_linux" -exec \
-		strip --remove-section=.comment --remove-section=.note --strip-unneeded {} +
-
-override_dh_fixperms:
-	dh_fixperms
-	find debian -name '*.pd_linux' -exec \
-		chmod 0644 {} +
-
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/class/pd.mk
+include /usr/share/cdbs/1/rules/utils.mk

-- 
pd-iemlib packaging



More information about the pkg-multimedia-commits mailing list