[Pkg-voip-commits] r10519 - in /iaxmodem/trunk/debian: changelog compat control install manpages rules
tzafrir at alioth.debian.org
tzafrir at alioth.debian.org
Sat Jul 26 18:56:52 UTC 2014
Author: tzafrir
Date: Sat Jul 26 18:56:52 2014
New Revision: 10519
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=10519
Log:
Convert to dh.
Added:
iaxmodem/trunk/debian/install
iaxmodem/trunk/debian/manpages
Modified:
iaxmodem/trunk/debian/changelog
iaxmodem/trunk/debian/compat
iaxmodem/trunk/debian/control
iaxmodem/trunk/debian/rules
Modified: iaxmodem/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/iaxmodem/trunk/debian/changelog?rev=10519&op=diff
==============================================================================
--- iaxmodem/trunk/debian/changelog (original)
+++ iaxmodem/trunk/debian/changelog Sat Jul 26 18:56:52 2014
@@ -6,6 +6,7 @@
* Switch to dpkg V3 format.
* Fix link command for building with ld --as-needed (Closes: #641729).
* Update VCS fields.
+ * Convert to dh.
-- Tzafrir Cohen <tzafrir at debian.org> Fri, 16 Sep 2011 22:03:26 +0300
Modified: iaxmodem/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-voip/iaxmodem/trunk/debian/compat?rev=10519&op=diff
==============================================================================
--- iaxmodem/trunk/debian/compat (original)
+++ iaxmodem/trunk/debian/compat Sat Jul 26 18:56:52 2014
@@ -1 +1 @@
-5
+9
Modified: iaxmodem/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/iaxmodem/trunk/debian/control?rev=10519&op=diff
==============================================================================
--- iaxmodem/trunk/debian/control (original)
+++ iaxmodem/trunk/debian/control Sat Jul 26 18:56:52 2014
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
Uploaders: Tzafrir Cohen <tzafrir at debian.org>
-Build-Depends: debhelper (>= 5), libtiff-dev | libtiff4-dev, autotools-dev
+Build-Depends: debhelper (>= 9), libtiff-dev | libtiff4-dev, autotools-dev
Build-Conflicts: libiax-dev, libspandsp-dev
Standards-Version: 3.8.0
Homepage: http://iaxmodem.sourceforge.net/
Added: iaxmodem/trunk/debian/install
URL: http://svn.debian.org/wsvn/pkg-voip/iaxmodem/trunk/debian/install?rev=10519&op=file
==============================================================================
--- iaxmodem/trunk/debian/install (added)
+++ iaxmodem/trunk/debian/install Sat Jul 26 18:56:52 2014
@@ -0,0 +1 @@
+iaxmodem usr/bin
Added: iaxmodem/trunk/debian/manpages
URL: http://svn.debian.org/wsvn/pkg-voip/iaxmodem/trunk/debian/manpages?rev=10519&op=file
==============================================================================
--- iaxmodem/trunk/debian/manpages (added)
+++ iaxmodem/trunk/debian/manpages Sat Jul 26 18:56:52 2014
@@ -0,0 +1 @@
+iaxmodem.1
Modified: iaxmodem/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/iaxmodem/trunk/debian/rules?rev=10519&op=diff
==============================================================================
--- iaxmodem/trunk/debian/rules (original)
+++ iaxmodem/trunk/debian/rules Sat Jul 26 18:56:52 2014
@@ -37,21 +37,10 @@
UPFILENAME := iaxmodem_$(UPVERSION).orig.tar.gz
URL := http://heanet.dl.sourceforge.net/iaxmodem/iaxmodem-$(UPVERSION).tar.gz
-autotools-stamp:
- rm -f ./lib/libiax2/config.sub ./lib/libiax2/config.guess
- ln -s /usr/share/misc/config.sub ./lib/libiax2/config.sub
- ln -s /usr/share/misc/config.guess ./lib/libiax2/config.guess
+%:
+ dh $@ --with-autotools_dev
- rm -f ./lib/spandsp/config/config.sub ./lib/spandsp/config/config.guess
- ln -s /usr/share/misc/config.sub ./lib/spandsp/config/config.sub
- ln -s /usr/share/misc/config.guess ./lib/spandsp/config/config.guess
-
- touch autotools-stamp
-
-
-configure-stamp: autotools-stamp
- dh_testdir
-
+override_dh_auto_configure:
# Check that problematic files have been removed prior to packaging
( [ ! -e lib/spandsp/src/spandsp/mmx.h ] && \
[ ! -d lib/spandsp/src/msvc ] && [ ! -f lib/spandsp/libspandsp.vcproj ] && \
@@ -62,74 +51,27 @@
(cd lib/libiax2 && ./configure $(confflags) --disable-shared)
(cd lib/spandsp && ./configure $(confflags) --disable-shared)
- touch configure-stamp
-
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
+override_dh_auto_build:
# Add here commands to compile the package.
$(MAKE) -C ./lib/libiax2
$(MAKE) -C ./lib/spandsp
./build static
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp autotools-stamp
-
- # Add here commands to clean up after the build process.
+override_dh_auto_clean:
[ ! -f lib/libiax2/Makefile ] || $(MAKE) -C ./lib/libiax2 distclean
- rm -f ./lib/libiax2/config.sub ./lib/libiax2/config.guess
[ ! -f lib/spandsp/Makefile ] || $(MAKE) -C ./lib/spandsp distclean
rm -rf ./lib/spandsp/autom4te.cache
- rm -f ./lib/spandsp/config/config.sub ./lib/spandsp/config/config.guess
rm -f iaxmodem iaxmodem.o
- dh_clean
+override_dh_installchangelogs:
+ dh_installchangelogs CHANGES
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/iaxmodem.
- cp iaxmodem debian/iaxmodem/usr/bin
-
-
-# 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 CHANGES
- dh_installdocs
- dh_installexamples
-# dh_install
- dh_installlogrotate
+overridedh_installinit:
# start before hylafax (20), stop after hylafax (20) and before asterisk (21)
dh_installinit -- defaults 19 20
- dh_installman iaxmodem.1
-# dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
print-version:
@@echo "Debian version: $(DEBVERSION)"
@@ -151,5 +93,4 @@
@@echo Cleaning up...
@@$(RM) -rf ../tarballs/iaxmodem-$(UPVERSION).tmp
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install patch unpatch real-clean
+.PHONY: build
More information about the Pkg-voip-commits
mailing list