[Pkg-voip-commits] r7730 - in /mumble/trunk/debian: changelog rules

slicer-guest at alioth.debian.org slicer-guest at alioth.debian.org
Thu Oct 29 15:08:27 UTC 2009


Author: slicer-guest
Date: Thu Oct 29 15:08:22 2009
New Revision: 7730

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7730
Log:
Update get-orig-source.

Modified:
    mumble/trunk/debian/changelog
    mumble/trunk/debian/rules

Modified: mumble/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/mumble/trunk/debian/changelog?rev=7730&op=diff
==============================================================================
--- mumble/trunk/debian/changelog (original)
+++ mumble/trunk/debian/changelog Thu Oct 29 15:08:22 2009
@@ -6,6 +6,7 @@
   [ Thorvald Natvig ]
   * New upstream release.
   * Put custom CELT releases in plugin directory.
+  * Update get-orig-source.
 
  -- Thorvald Natvig <slicer at users.sourceforge.net>  Tue, 20 Oct 2009 13:09:38 +0200
 

Modified: mumble/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/mumble/trunk/debian/rules?rev=7730&op=diff
==============================================================================
--- mumble/trunk/debian/rules (original)
+++ mumble/trunk/debian/rules Thu Oct 29 15:08:22 2009
@@ -2,6 +2,10 @@
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
+
+MAKEFILE = $(firstword $(MAKEFILE_LIST))
+SOURCE_DIR = $(dir $(MAKEFILE))..
+VERSION := $(shell dpkg-parsechangelog -l$(dir $(MAKEFILE))changelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
 
 export DH_OPTIONS
 
@@ -112,8 +116,6 @@
 binary:	binary-indep binary-arch
 
 get-orig-source:
-	@@dh_testdir
-	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
-	@@uscan --force-download --destdir ../tarballs
+	wget -O $(SOURCE_DIR)/mumble_$(VERSION).orig.tar.gz http://mumble.info/snapshot/mumble-$(VERSION).tar.gz
 
 .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure




More information about the Pkg-voip-commits mailing list