[SCM] kmidimon packaging branch, master, updated. debian/0.7.1-1-22-ga3216d5

adiknoth-guest at users.alioth.debian.org adiknoth-guest at users.alioth.debian.org
Mon May 17 10:27:06 UTC 2010


The following commit has been merged in the master branch:
commit 4db54ec2886d940119b28b44ed811f2d98803371
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date:   Mon May 17 11:58:21 2010 +0200

    Switch to CDBS.

diff --git a/debian/rules b/debian/rules
index d942cd1..516df2e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,63 +1,5 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
+include /usr/share/cdbs/1/class/cmake.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	cmake . -DWANT_PCH=YES -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=YES
-	touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-	$(MAKE)
-	touch build-stamp
-
-clean: 
-	dh_testdir
-	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) clean
-	rm -rf CMakeFiles CMakeTmp build
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/kmidimon
-
-# Build architecture-independent files here.
-binary-indep: build install
-	# Not building any arch: all package
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-	dh_installman
-	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

-- 
kmidimon packaging



More information about the pkg-multimedia-commits mailing list