[SCM] calf audio plugins packaging branch, master, updated. upstream/0.0.18.3-10-g7fcc3e0
adiknoth-guest at users.alioth.debian.org
adiknoth-guest at users.alioth.debian.org
Wed Aug 19 10:11:03 UTC 2009
The following commit has been merged in the master branch:
commit 77bd53ad7d7f35c931f89a96c8c55db32aa2b6b5
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date: Wed Aug 19 11:55:43 2009 +0200
Use cdbs.
Looks like Ubuntu's rules file is more complicated than necessary.
diff --git a/debian/control b/debian/control
index c74e3e3..01b52eb 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,8 @@ Build-Depends: libasound2-dev,
lv2core,
debhelper (>= 6),
autotools-dev,
- libreadline5-dev
+ libreadline5-dev,
+ cdbs
Standards-Version: 3.8.1
Homepage: http://calf.sourceforge.net/
Vcs-Git: git://git.debian.org/git/pkg-multimedia/calf.git
diff --git a/debian/rules b/debian/rules
index 7830316..410f7ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,77 +1,7 @@
#!/usr/bin/make -f
-export DH_VERBOSE=1
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
-CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
-else
-CROSS= --build $(DEB_BUILD_GNU_TYPE)
-endif
-
-
-
-config.status: configure
- dh_testdir
- # Add here commands to configure the package.
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
- cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
- cp -f /usr/share/misc/config.guess config.guess
-endif
- ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
-
-
-build: build-stamp
-
-build-stamp: config.status
- dh_testdir
-
- $(MAKE)
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- [ ! -f Makefile ] || $(MAKE) distclean
- rm -f config.sub config.guess
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- $(MAKE) DESTDIR=$(CURDIR)/debian/calf-plugins install
-
-
-binary-indep: build install
-
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs
- dh_installexamples
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
- dh_icons
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list