[SCM] pd-iemmatrix/master: switched to CDBS

zmoelnig-guest at users.alioth.debian.org zmoelnig-guest at users.alioth.debian.org
Tue Feb 8 15:10:28 UTC 2011


The following commit has been merged in the master branch:
commit 1b5fe982cd66d51653a7cc55b592826439219ccb
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date:   Tue Feb 8 15:23:50 2011 +0100

    switched to CDBS

diff --git a/debian/rules b/debian/rules
index ac76b85..bca0ba8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,44 @@
 #!/usr/bin/make -f
 
-%:
-	dh $@ -Dsrc
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2002 Guenter Geiger <geiger at debian.org>
+# Copyright © 2011 IOhannes m zmölnig <zmoelnig at iem.at>
+# Description: Main Debian packaging script for pd-iemmatrix
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/class/pd.mk
+
+# Relax inclusion of optional features to ease backporting
+include /usr/share/cdbs/1/rules/utils.mk
+
+CDBS_BUILD_DEPENDS_rules_utils_copyright-check =
+CDBS_BUILD_DEPENDS_rules_utils_buildinfo =
+
+# upstream's way to prevent stripping: override the STRIP command with something
+# harmless, like /usr/bin/true
+STRIP=/bin/true
+export STRIP
+
+# where sources are
+DEB_SRCDIR = src
+
+# regenerate configure, so that patches to configure.ac take effect 
+DEB_AUTO_UPDATE_AUTOCONF = 2.61
 
-override_dh_auto_configure:
-	cd src && aclocal && autoconf
-	cd src && ./configure --prefix=/usr
+DEB_CONFIGURE_EXTRA_FLAGS += --with-extension=pd_linux
 
-override_dh_shlibdeps:
-	dpkg-shlibdeps debian/pd-iemmatrix/usr/lib/pd/extra/iemmatrix/iemmatrix.pd_linux \
-           -Tdebian/pd-iemmatrix.substvars

-- 
pd-iemmatrix packaging



More information about the pkg-multimedia-commits mailing list