[Pkg-voip-commits] r2544 - in libasterisk-perl/trunk: . debian
Tzafrir Cohen
tzafrir-guest at costa.debian.org
Tue Oct 10 04:51:07 UTC 2006
Author: tzafrir-guest
Date: 2006-10-10 04:51:07 +0000 (Tue, 10 Oct 2006)
New Revision: 2544
Added:
libasterisk-perl/trunk/debian/watch
Removed:
libasterisk-perl/trunk/lib/
Modified:
libasterisk-perl/trunk/debian/
libasterisk-perl/trunk/debian/changelog
libasterisk-perl/trunk/debian/rules
Log:
* Removed unnecessary patch.
* Added get-orig-source and watch.
* Ignoring vim swap files
Property changes on: libasterisk-perl/trunk/debian
___________________________________________________________________
Name: svn:ignore
+ .*.swp
Modified: libasterisk-perl/trunk/debian/changelog
===================================================================
--- libasterisk-perl/trunk/debian/changelog 2006-10-09 23:50:13 UTC (rev 2543)
+++ libasterisk-perl/trunk/debian/changelog 2006-10-10 04:51:07 UTC (rev 2544)
@@ -2,8 +2,9 @@
* New upstream release.
* Finally legal
+ * watch & get-orig-source added.
- -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Thu, 28 Sep 2006 00:52:58 +0300
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Tue, 10 Oct 2006 06:48:08 +0200
libasterisk-perl (0.08-3) unstable; urgency=low
Modified: libasterisk-perl/trunk/debian/rules
===================================================================
--- libasterisk-perl/trunk/debian/rules 2006-10-09 23:50:13 UTC (rev 2543)
+++ libasterisk-perl/trunk/debian/rules 2006-10-10 04:51:07 UTC (rev 2544)
@@ -11,7 +11,7 @@
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
-PACKAGE=$(shell dh_listpackages)
+PACKAGE:=$(shell dh_listpackages)
ifndef PERL
PERL = /usr/bin/perl
@@ -19,15 +19,13 @@
TMP =$(CURDIR)/debian/$(PACKAGE)
-# Allow disabling build optimation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
+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 := $(PACKAGE)_$(UPVERSION).orig.tar.gz
+URL := http://asterisk.gnuinter.net/files/asterisk-perl-$(UPVERSION).tar.gz
+
build: build-stamp
build-stamp:
dh_testdir
@@ -83,5 +81,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
Added: libasterisk-perl/trunk/debian/watch
===================================================================
--- libasterisk-perl/trunk/debian/watch (rev 0)
+++ libasterisk-perl/trunk/debian/watch 2006-10-10 04:51:07 UTC (rev 2544)
@@ -0,0 +1,17 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 2 file
+version=2
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php #PACKAGE#-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+http://asterisk.gnuinter.net/files/asterisk-perl-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/#PACKAGE#-(.*)\.tar\.gz debian uupdate
More information about the Pkg-voip-commits
mailing list