[SCM] ladspa-sdk/master: Switch to CDBS

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Wed Dec 29 00:44:00 UTC 2010


The following commit has been merged in the master branch:
commit fb01d8796a359a9a9a9dbaf7636dc9f57c565857
Author: Felipe Sateler <fsateler at debian.org>
Date:   Tue Dec 28 21:39:18 2010 -0300

    Switch to CDBS

diff --git a/debian/control b/debian/control
index 6b5c87d..391c9c2 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: sound
 Priority: optional
 Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 7.0.50~),
-               quilt (>= 0.46-7~)
+ cdbs,
+ quilt
 Standards-Version: 3.9.0
 Uploaders: Felipe Sateler <fsateler at debian.org>
 Vcs-Git: git://git.debian.org/git/pkg-multimedia/ladspa-sdk.git
diff --git a/debian/rules b/debian/rules
index 8fbffb4..3704dc4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,26 +1,25 @@
 #!/usr/bin/make -f
 
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-%:
-	dh --with quilt $@
-
+DEB_BUILDDIR = src
+DEB_MAKE_BUILD_TARGET = targets
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/ladspa-sdk \
+	INSTALL_PLUGINS_DIR=$(CURDIR)/debian/ladspa-sdk/usr/lib/ladspa/ \
+	INSTALL_INCLUDE_DIR=$(CURDIR)/debian/ladspa-sdk/usr/include/ \
+	INSTALL_BINARY_DIR=$(CURDIR)/debian/ladspa-sdk/usr/bin/
 
+CFLAGS += -fPIC
+CXXFLAGS += -fPIC
 
-override_dh_auto_build:
-	# git doesn't preserve empty dirs, this is for git-buildpackage
+pre-build::
+# git doesn't preserve empty dirs, this is for git-buildpackage
 	mkdir -p plugins
 	mkdir -p bin
-	$(MAKE) -C src targets
-
-override_dh_auto_clean:
-	dh_auto_clean
-	$(MAKE) -C src clean
-
-override_dh_auto_install:
-	$(MAKE) -C src install DESTDIR=$(CURDIR)/debian/ladspa-sdk \
-	INSTALL_PLUGINS_DIR=$(CURDIR)/debian/ladspa-sdk/usr/lib/ladspa/ \
-	INSTALL_INCLUDE_DIR=$(CURDIR)/debian/ladspa-sdk/usr/include/ \
-	INSTALL_BINARY_DIR=$(CURDIR)/debian/ladspa-sdk/usr/bin/ 
 

-- 
ladspa-sdk packaging



More information about the pkg-multimedia-commits mailing list