[Pkg-voip-commits] r1598 - asterisk-prompt-it/trunk/debian

Kilian Krause kilian at costa.debian.org
Sun Apr 16 23:31:33 UTC 2006


Author: kilian
Date: 2006-04-16 23:31:32 +0000 (Sun, 16 Apr 2006)
New Revision: 1598

Modified:
   asterisk-prompt-it/trunk/debian/changelog
   asterisk-prompt-it/trunk/debian/copyright
   asterisk-prompt-it/trunk/debian/rules
Log:
fix location to new URL


Modified: asterisk-prompt-it/trunk/debian/changelog
===================================================================
--- asterisk-prompt-it/trunk/debian/changelog	2006-04-16 23:17:14 UTC (rev 1597)
+++ asterisk-prompt-it/trunk/debian/changelog	2006-04-16 23:31:32 UTC (rev 1598)
@@ -1,3 +1,11 @@
+asterisk-prompt-it (20060120-2) UNRELEASED; urgency=low
+
+  * NOT YET RELEASED.
+  * debian/copyright: Update location to new URL
+  * debian/rules: Add get-orig-source target.
+
+ -- Kilian Krause <kilian at debian.org>  Mon, 17 Apr 2006 01:30:13 +0200
+
 asterisk-prompt-it (20060120-1) unstable; urgency=low
 
   * New upstream release

Modified: asterisk-prompt-it/trunk/debian/copyright
===================================================================
--- asterisk-prompt-it/trunk/debian/copyright	2006-04-16 23:17:14 UTC (rev 1597)
+++ asterisk-prompt-it/trunk/debian/copyright	2006-04-16 23:31:32 UTC (rev 1598)
@@ -1,7 +1,7 @@
-This package was debianized by Tzafrir Cohen <tzafrir.cohe at xorcom.com> on
+This package was debianized by Tzafrir Cohen <tzafrir.cohen at xorcom.com> on
 Mon, 27 Jun 2005 11:49:29 +0300
 
-It was downloaded from ftp://213.156.62.146/pub/linux/asterisk/sounds/it/
+It was downloaded from http://mirror.tomato.it/ftp/pub/asterisk/suoni_ita/
 
 Upstream Author: Marco Menardi.
 

Modified: asterisk-prompt-it/trunk/debian/rules
===================================================================
--- asterisk-prompt-it/trunk/debian/rules	2006-04-16 23:17:14 UTC (rev 1597)
+++ asterisk-prompt-it/trunk/debian/rules	2006-04-16 23:31:32 UTC (rev 1598)
@@ -12,6 +12,13 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+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 := asterisk-prompt-it_$(UPVERSION).orig.tar.gz
+URL := http://mirror.tomato.it/ftp/pub/asterisk/suoni_ita/it_mm_sounds_$(UPVERSION).tar.gz
+
 configure: 
 
 build: build-indep
@@ -47,5 +54,15 @@
 
 binary-arch:
 
+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-arch binary-indep
 .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure




More information about the Pkg-voip-commits mailing list