[Pkg-voip-commits] r5632 - /speex/trunk/debian/rules

maniac-guest at alioth.debian.org maniac-guest at alioth.debian.org
Mon Apr 28 11:32:28 UTC 2008


Author: maniac-guest
Date: Mon Apr 28 11:32:28 2008
New Revision: 5632

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5632
Log:
Now get-orig-source must work. Mea culpa

Modified:
    speex/trunk/debian/rules

Modified: speex/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/speex/trunk/debian/rules?rev=5632&op=diff
==============================================================================
--- speex/trunk/debian/rules (original)
+++ speex/trunk/debian/rules Mon Apr 28 11:32:28 2008
@@ -8,14 +8,15 @@
 
 #export DH_VERBOSE=1
 export DH_OPTIONS
+
 DEBVERSION:=$(shell head -n 1 debian/changelog \
 | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
 DEB_NOEPOCH_VERSION:=$(shell echo $(DEBVERSION) | cut -d':' -f 2)
-UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//' -e 's/~//')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
+FILENAME := speex_$(UPVERSION).orig.tar.gz
+UPFILENAME := speex-$(shell echo $(UPVERSION) | sed -e 's/~//').tar.gz
+URL := http://downloads.us.xiph.org/releases/speex/$(UPFILENAME)
 
-FILENAME := speex_$(UPVERSION).orig.tar.gz
-UPFILENAME := speex-$(UPVERSION).tar.gz
-URL := http://downloads.us.xiph.org/releases/speex/$(UPFILENAME)
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	INSTALL_PROGRAM += -s
 endif
@@ -119,7 +120,7 @@
 	@@dh_testdir
 	@@[ -d ../tarballs/. ]||mkdir ../tarballs
 	@@echo Downloading $(UPFILENAME) from $(URL) ...
-	@@wget -N -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
+	@@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
 
 .PHONY: clean build build-arch build-indep install install-arch install-indep \
 	binary binary-arch binary-indep




More information about the Pkg-voip-commits mailing list