[Pkg-voip-commits] r1455 - in linphone: . trunk/debian

Kilian Krause kilian at costa.debian.org
Wed Mar 15 23:05:12 UTC 2006


Author: kilian
Date: 2006-03-15 23:05:11 +0000 (Wed, 15 Mar 2006)
New Revision: 1455

Added:
   linphone/build-area
   linphone/tarballs
Modified:
   linphone/trunk/debian/changelog
   linphone/trunk/debian/rules
Log:
add symlinks to linphone dir and add get-orig-source target for adding to the buildd


Added: linphone/build-area
===================================================================
--- linphone/build-area	2006-03-15 23:01:42 UTC (rev 1454)
+++ linphone/build-area	2006-03-15 23:05:11 UTC (rev 1455)
@@ -0,0 +1 @@
+link ../build-area/
\ No newline at end of file


Property changes on: linphone/build-area
___________________________________________________________________
Name: svn:special
   + *

Added: linphone/tarballs
===================================================================
--- linphone/tarballs	2006-03-15 23:01:42 UTC (rev 1454)
+++ linphone/tarballs	2006-03-15 23:05:11 UTC (rev 1455)
@@ -0,0 +1 @@
+link ../tarballs/
\ No newline at end of file


Property changes on: linphone/tarballs
___________________________________________________________________
Name: svn:special
   + *

Modified: linphone/trunk/debian/changelog
===================================================================
--- linphone/trunk/debian/changelog	2006-03-15 23:01:42 UTC (rev 1454)
+++ linphone/trunk/debian/changelog	2006-03-15 23:05:11 UTC (rev 1455)
@@ -1,12 +1,16 @@
-linphone (1.3.0-1) unstable; urgency=low
+linphone (1.3.0-1) UNRELEASED; urgency=low
 
+  [ Samuel Mimram ]
   * New upstream release.
   * New maintainer Debian VoIP Team, added myself to uploaders.
   * New soname for libortp.
   * Removed addressbook_entries.dpatch, integrated upstream.
 
- -- Samuel Mimram <smimram at debian.org>  Thu,  9 Mar 2006 21:41:06 +0000
+  [ Kilian Krause ]
+  * debian/rules: Add get-orig-source target.
 
+ -- Kilian Krause <kilian at debian.org>  Wed, 15 Mar 2006 23:04:08 +0000
+
 linphone (1.2.0-3) unstable; urgency=low
 
   * Addd desktop_icon.dpatch to correct the icon location in linphone.desktop,

Modified: linphone/trunk/debian/rules
===================================================================
--- linphone/trunk/debian/rules	2006-03-15 23:01:42 UTC (rev 1454)
+++ linphone/trunk/debian/rules	2006-03-15 23:05:11 UTC (rev 1455)
@@ -36,6 +36,13 @@
 	INSTALL_PROGRAM += -s
 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 := linphone_$(UPVERSION).orig.tar.gz
+URL := http://simon.morlat.free.fr/download/stable/source/linphone-$(UPVERSION).tar.gz
+
 configure-stamp: configure
 	dh_testdir
 	CFLAGS="$(CFLAGS)" ./configure $(confflags) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-static --sysconfdir=/etc --with-osip=/usr --with-speex=/usr --enable-ipv6
@@ -126,5 +133,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-arch binary-indep
 .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch 




More information about the Pkg-voip-commits mailing list