[SCM] meterbridge packaging branch, master, updated. debian/0.9.2-6-29-g5918b35

quadrispro-guest at users.alioth.debian.org quadrispro-guest at users.alioth.debian.org
Sun Apr 18 11:38:46 UTC 2010


The following commit has been merged in the master branch:
commit f9a2c46e8ce8cba922e2b346c1eee0745b350029
Author: Alessio Treglia <quadrispro at ubuntu.com>
Date:   Sun Apr 18 13:32:50 2010 +0200

    Switch to debhelper 7 + quilt.

diff --git a/debian/rules b/debian/rules
index 1a6f6c2..51524ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,87 +1,18 @@
 #!/usr/bin/make -f
 
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+%:
+	dh --with quilt $@
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
-endif
-
-include /usr/share/quilt/quilt.make
-
-export DH_OPTIONS
-
-config.status: configure
-	dh_testdir
-	# Add here commands to configure the package.
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
-
-build:  $(QUILT_STAMPFN) build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-	#/usr/bin/docbook-to-man debian/meterbridge.sgml > meterbridge.1
-
-	touch build-stamp
-
-clean:  unpatch
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp 
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) distclean
+override_dh_auto_configure:
 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
+	dh_auto_configure
 
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-
-	# Add here commands to install the package into debian/meterbridge.
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/meterbridge
+override_dh_auto_install:
+	dh_auto_install
 	install -m644 debian/wmaker-meterbridge.xpm $(CURDIR)/debian/meterbridge/usr/share/icons
 	install -m644 debian/meterbridge32x32.xpm $(CURDIR)/debian/meterbridge/usr/share/pixmaps
-
-# 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_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installmenu
-	dh_installman debian/meterbridge.1
-	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 

-- 
meterbridge packaging



More information about the pkg-multimedia-commits mailing list