[SCM] Computer music toolkit packaging branch, master, updated. debian/1.16-1-6-gcb6d5ab

fsateler-guest at users.alioth.debian.org fsateler-guest at users.alioth.debian.org
Tue Nov 3 22:50:28 UTC 2009


The following commit has been merged in the master branch:
commit 16a733a5dbb42b77edacd53cb5cc2140ac08e4b1
Author: Felipe Sateler <fsateler at gmail.com>
Date:   Tue Nov 3 19:48:36 2009 -0300

    Switch to CDBS

diff --git a/debian/control b/debian/control
index e3dcaaa..6e2c4da 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
 Source: cmt
 Section: sound
 Priority: optional
-Build-Depends: debhelper (>> 4.0.0),
+Build-Depends: cdbs,
+               debhelper (>> 4.0.0),
                ladspa-sdk,
                quilt
 Standards-Version: 3.8.3
diff --git a/debian/rules b/debian/rules
index e022b2c..be2780d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,61 +1,21 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+DEB_BUILDDIR = src
+DEB_MAKE_INSTALL_TARGET = install INSTALL_PLUGINS_DIR=$(PLUGINDIR)
+CFLAGS += -fPIC
+CXXFLAGS += -fPIC
 
 TMPDIR=$(CURDIR)/debian/cmt
 DOCDIR=$(TMPDIR)/usr/share/doc/cmt
 PLUGINDIR=$(TMPDIR)/usr/lib/ladspa
 
-include /usr/share/quilt/quilt.make
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	cd src && $(MAKE)
-	touch build-stamp
 
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	cd src && $(MAKE) clean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	cd src && $(MAKE) install INSTALL_PLUGINS_DIR=$(PLUGINDIR)
+install/cmt::
 	mkdir -p $(DOCDIR)
 	install -m 644 -p -o root -g root src/freeverb/readme.txt \
 		$(DOCDIR)/freeverb-readme.txt
 
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_install
-	dh_installdocs
-	dh_installchangelogs 
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
-

-- 
Computer music toolkit packaging



More information about the pkg-multimedia-commits mailing list