[Pkg-voip-commits] r7193 - in /ohphone/trunk/debian: changelog control rules
kilian at alioth.debian.org
kilian at alioth.debian.org
Sat May 9 22:39:57 UTC 2009
Author: kilian
Date: Sat May 9 22:39:57 2009
New Revision: 7193
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7193
Log:
* Add get-orig-source target.
* Fix Build-Depends to libpt-1.10.10-dev|libpt-dev (Still doesn't compile...
Probably needs older Ptlib or OpenH323plus...)
Modified:
ohphone/trunk/debian/changelog
ohphone/trunk/debian/control
ohphone/trunk/debian/rules
Modified: ohphone/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/ohphone/trunk/debian/changelog?rev=7193&op=diff
==============================================================================
--- ohphone/trunk/debian/changelog (original)
+++ ohphone/trunk/debian/changelog Sat May 9 22:39:57 2009
@@ -6,7 +6,12 @@
[ Patrick Matthäi ]
* Bumped Standards-Version to 3.8.0.
- -- Kilian Krause <kilian at debian.org> Sat, 09 May 2009 19:12:17 +0200
+ [ Kilian Krause ]
+ * Add get-orig-source target.
+ * Fix Build-Depends to libpt-1.10.10-dev|libpt-dev (Still doesn't compile...
+ Probably needs older Ptlib or OpenH323plus...)
+
+ -- Kilian Krause <kilian at debian.org> Sun, 10 May 2009 00:39:26 +0200
ohphone (1:1.4.5+20060204-4) unstable; urgency=low
Modified: ohphone/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/ohphone/trunk/debian/control?rev=7193&op=diff
==============================================================================
--- ohphone/trunk/debian/control (original)
+++ ohphone/trunk/debian/control Sat May 9 22:39:57 2009
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
Uploaders: Kilian Krause <kilian at debian.org>, Jose Carlos Garcia Sogo <jsogo at debian.org>, Mark Purcell <msp at debian.org>, Santiago Garcia Mantinan <manty at debian.org>
-Build-Depends: debhelper (>=4.0.0), libpt-dev (>=1.9.2), libopenh323-dev (>=1.17.3), libsdl-dev, libsvga1-dev [i386 amd64], g++ (>=2:3.2), dpatch (>= 2.0.10), libx11-dev, libxext-dev, x11proto-core-dev
+Build-Depends: debhelper (>=4.0.0), libpt-1.10.10-dev|libpt-dev, libopenh323-dev (>=1.17.3), libsdl-dev, libsvga1-dev [i386 amd64], g++ (>=2:3.2), dpatch (>= 2.0.10), libx11-dev, libxext-dev, x11proto-core-dev
Standards-Version: 3.8.0
Homepage: http://www.voxgratia.org/
Vcs-Svn: svn://svn.debian.org/pkg-voip/ohphone/trunk/
Modified: ohphone/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/ohphone/trunk/debian/rules?rev=7193&op=diff
==============================================================================
--- ohphone/trunk/debian/rules (original)
+++ ohphone/trunk/debian/rules Sat May 9 22:39:57 2009
@@ -12,6 +12,14 @@
export DH_OPTIONS
MAKE_BUILD_PARAM=OPENH323DIR=/usr/share/openh323 PWLIBDIR=/usr/share/pwlib
+
+DEBVERSION := $(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION := $(shell echo $(DEBVERSION) | sed -r -e 's/^.*://' -e 's/-[0-9.]*(\+b[0-9])?$$//')
+URLVERSION := $(shell echo $(UPVERSION) | sed -e 's/\./_/g')
+
+FILENAME := ohphone_$(UPVERSION).orig.tar.gz
+URL := http://www.voxgratia.org/releases/ohphone-v$(URLVERSION)-src-tar.gz
CFLAGS = -Wall -g
@@ -86,4 +94,16 @@
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
binary: binary-arch binary-indep
+
+print-version:
+ @@echo "Debian version: $(DEBVERSION)"
+ @@echo "Upstream version: $(UPVERSION)"
+
+get-orig-source:
+ @@dh_testdir
+ @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+ @@echo Downloading $(FILENAME) from $(URL) ...
+ @@wget -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
+ @@echo Ready for packaging.
+
.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch
More information about the Pkg-voip-commits
mailing list