[Pkg-voip-commits] r8974 - in /asterisk-chan-capi/trunk/debian: changelog compat rules
tzafrir at alioth.debian.org
tzafrir at alioth.debian.org
Sat Jun 4 10:49:53 UTC 2011
Author: tzafrir
Date: Sat Jun 4 10:49:53 2011
New Revision: 8974
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8974
Log:
Switch packaging to dh.
Modified:
asterisk-chan-capi/trunk/debian/changelog
asterisk-chan-capi/trunk/debian/compat
asterisk-chan-capi/trunk/debian/rules
Modified: asterisk-chan-capi/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-chan-capi/trunk/debian/changelog?rev=8974&op=diff
==============================================================================
--- asterisk-chan-capi/trunk/debian/changelog (original)
+++ asterisk-chan-capi/trunk/debian/changelog Sat Jun 4 10:49:53 2011
@@ -3,8 +3,9 @@
* NOT RELEASED YET
* Switch from dpatch to dpkg v3.
* Add myself as uploader.
-
- -- Tzafrir Cohen <tzafrir at debian.org> Sat, 04 Jun 2011 01:15:47 +0300
+ * Switch packaging to dh.
+
+ -- Tzafrir Cohen <tzafrir at debian.org> Sat, 04 Jun 2011 13:47:40 +0300
asterisk-chan-capi (1.1.5-1) unstable; urgency=low
Modified: asterisk-chan-capi/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-chan-capi/trunk/debian/compat?rev=8974&op=diff
==============================================================================
--- asterisk-chan-capi/trunk/debian/compat (original)
+++ asterisk-chan-capi/trunk/debian/compat Sat Jun 4 10:49:53 2011
@@ -1,1 +1,1 @@
-5
+7
Modified: asterisk-chan-capi/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk-chan-capi/trunk/debian/rules?rev=8974&op=diff
==============================================================================
--- asterisk-chan-capi/trunk/debian/rules (original)
+++ asterisk-chan-capi/trunk/debian/rules Sat Jun 4 10:49:53 2011
@@ -22,54 +22,14 @@
FILENAME := asterisk-chan-capi_$(UPVERSION).orig.tar.gz
URL := ftp://ftp.chan-capi.org/chan-capi/chan_capi-$(UPVERSION).tar.gz
-build: build-stamp
-build-stamp:
- dh_testdir
+%:
+ dh $@
- $(MAKE)
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- [ ! -f Makefile ]||$(MAKE) clean
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
+override_dh_auto_install:
$(MAKE) install_config install INSTALL_PREFIX=$(CURDIR)/debian/asterisk-chan-capi
-
-# 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
+override_dh_installchangelogs:
dh_installchangelogs CHANGES
- dh_installdocs
- dh_installexamples
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
print-version:
@@echo "Debian version: $(DEBVERSION)"
@@ -81,5 +41,3 @@
@@echo Downloading $(FILENAME) from $(URL) ...
@@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-voip-commits
mailing list