[Pkg-voip-commits] r1500 - libcommoncpp2/trunk/debian
Kilian Krause
kilian at costa.debian.org
Wed Mar 29 07:23:40 UTC 2006
Author: kilian
Date: 2006-03-29 07:23:39 +0000 (Wed, 29 Mar 2006)
New Revision: 1500
Modified:
libcommoncpp2/trunk/debian/changelog
libcommoncpp2/trunk/debian/copyright
libcommoncpp2/trunk/debian/rules
Log:
add get-orig-source target. Fix location of copyright download location.
Modified: libcommoncpp2/trunk/debian/changelog
===================================================================
--- libcommoncpp2/trunk/debian/changelog 2006-03-29 00:45:28 UTC (rev 1499)
+++ libcommoncpp2/trunk/debian/changelog 2006-03-29 07:23:39 UTC (rev 1500)
@@ -1,9 +1,13 @@
libcommoncpp2 (1.3.25-4) UNRELEASED; urgency=low
+ [ Mark Purcell ]
* NOT RELEASED YET
- -- Mark Purcell <msp at debian.org> Tue, 28 Mar 2006 22:38:24 +0100
+ [ Kilian Krause ]
+ * debian/rules: Add get-orig-source target.
+ -- Kilian Krause <kilian at debian.org> Wed, 29 Mar 2006 10:22:31 +0300
+
libcommoncpp2 (1.3.25-3) unstable; urgency=low
* Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
Modified: libcommoncpp2/trunk/debian/copyright
===================================================================
--- libcommoncpp2/trunk/debian/copyright 2006-03-29 00:45:28 UTC (rev 1499)
+++ libcommoncpp2/trunk/debian/copyright 2006-03-29 07:23:39 UTC (rev 1500)
@@ -1,7 +1,7 @@
This package was debianized by Mark Purcell <msp at debian.org> on
Sun, 22 Sep 2002 12:48:26 +1000.
-It was downloaded from ftp://ftp.gnu.org/pub/gnu/commoncpp2/
+It was downloaded from http://ftp.gnu.org/pub/gnu/commoncpp/
Upstream Authors:
Modified: libcommoncpp2/trunk/debian/rules
===================================================================
--- libcommoncpp2/trunk/debian/rules 2006-03-29 00:45:28 UTC (rev 1499)
+++ libcommoncpp2/trunk/debian/rules 2006-03-29 07:23:39 UTC (rev 1500)
@@ -28,6 +28,13 @@
#major=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
+
+FILENAME := libcommoncpp2_$(UPVERSION).orig.tar.gz
+URL := http://ftp.gnu.org/pub/gnu/commoncpp/commoncpp2-$(UPVERSION).tar.gz
+
config.status: configure
dh_testdir
# Add here commands to configure the package.
@@ -106,5 +113,15 @@
dh_md5sums
dh_builddeb
+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 -N -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