From d149f3c8c0fa6572e03a785e2ad54dac34c63dd5 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Tue, 26 Apr 2011 19:51:38 +0000 Subject: [PATCH] Rename mediaproxy-ng metapackage to ngcp-mediaproxy-ng, dropping the -full suffix. Fix building of the meta package. --- debian/control | 2 +- debian/rules | 22 ++++++++++++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index ae9cb9ad1..89bbb9293 100644 --- a/debian/control +++ b/debian/control @@ -19,7 +19,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends} Description: IPtables extension module for the kernel-space NGCP media proxy. Provides the IPtables extension needed to configure the mediaproxy rule. -Package: ngcp-mediaproxy-ng-full +Package: ngcp-mediaproxy-ng Architecture: any Depends: ngcp-mediaproxy-ng-daemon, ngcp-mediaproxy-ng-iptables, ngcp-mediaproxy-ng-kernel-dkms Description: NGCP RTP/media proxy - meta package. diff --git a/debian/rules b/debian/rules index b2ffefd48..38eddf6d9 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +export DH_VERBOSE=1 b=$(CURDIR)/debian/build @@ -71,11 +71,29 @@ ngcp-mediaproxy-ng-iptables: install dh_md5sums -p$@ -P$(b)/$@ dh_builddeb -p$@ -P$(b)/$@ +ngcp-mediaproxy-ng: install + @echo "--- Building: $@" + dh_installdirs -p$@ -P$(b)/$@ + dh_link -p$@ -P$(b)/$@ + dh_installdocs -p$@ -P$(b)/$@ + dh_installchangelogs -p$@ -P$(b)/$@ + dh_install -p$@ -P$(b)/$@ + dh_strip -p$@ -P$(b)/$@ + dh_compress -p$@ -P$(b)/$@ + dh_fixperms -p$@ -P$(b)/$@ + dh_makeshlibs -p$@ -P$(b)/$@ -V + dh_installdeb -p$@ -P$(b)/$@ + dh_shlibdeps -p$@ -P$(b)/$@ + dh_installdebconf -p$@ -P$(b)/$@ + dh_gencontrol -p$@ -P$(b)/$@ + dh_md5sums -p$@ -P$(b)/$@ + dh_builddeb -p$@ -P$(b)/$@ + # Build architecture-dependent files here. binary-all: build install # Build architecture-independent files here. -binary-indep: build install ngcp-mediaproxy-ng-daemon ngcp-mediaproxy-ng-iptables +binary-indep: build install ngcp-mediaproxy-ng-daemon ngcp-mediaproxy-ng-iptables ngcp-mediaproxy-ng binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install