[SCM] faust/master: switch build-system to cdbs

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Wed May 18 15:13:07 UTC 2016


The following commit has been merged in the master branch:
commit cee19c39e54a1151038d390654d1077c58d48e8a
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Wed May 18 14:25:57 2016 +0200

    switch build-system to cdbs

diff --git a/debian/rules b/debian/rules
index 0f69860..eb723d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,38 @@
 #!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2016 IOhannes m zmölnig <zmoelnig at iem.at>
+# Description: Main Debian packaging script for faust
+#
+# 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 3, 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/>.
 
-%:
-	dh $@
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile-vars.mk
+include /usr/share/cdbs/1/rules/utils.mk
 
-override_dh_auto_install:
-	$(MAKE) prefix=`pwd`/debian/faust/usr install
+DEB_COMPRESS_EXCLUDE_ALL=.dsp .lib Makefile
 
-override_dh_compress:
-	dh_compress -X.lib -X.dsp -XMakefile
+build/faust::
+	CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) DESTDIR="$(DEB_DESTDIR)" PREFIX=/usr
+
+install/faust::
+	CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) DESTDIR=$(DEB_DESTDIR) PREFIX=/usr install
+
+clean::
+	$(MAKE) clean
+
+#override_dh_auto_install:
+#	$(MAKE) prefix=`pwd`/debian/faust/usr install
+
+#override_dh_compress:
+#	dh_compress -X.lib -X.dsp -XMakefile

-- 
faust packaging



More information about the pkg-multimedia-commits mailing list