[Pkg-voip-commits] r6081 - /pwlib/branches/experimental/debian/rules

dedu-guest at alioth.debian.org dedu-guest at alioth.debian.org
Mon Aug 25 20:52:26 UTC 2008


Author: dedu-guest
Date: Mon Aug 25 20:52:26 2008
New Revision: 6081

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

Modified:
    pwlib/branches/experimental/debian/rules

Modified: pwlib/branches/experimental/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/pwlib/branches/experimental/debian/rules?rev=6081&op=diff
==============================================================================
--- pwlib/branches/experimental/debian/rules (original)
+++ pwlib/branches/experimental/debian/rules Mon Aug 25 20:52:26 2008
@@ -303,21 +303,20 @@
 	@@echo "Upstream version:        $(UPVERSION)"
 
 get-orig-source:
-	#svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib
-	#cd ptlib ; svn2cl -o changelog; find . -name .svn -exec rm -rf {} \;
-	#@@dh_testdir
-	#@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
 	#this is for stable versions
 	#@@echo Downloading $(FILENAME) from $(URL) for repacking ...
 	#@@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
 	#and this is for SVN
-	#@@echo Checking out for repacking ...
-	#@@mkdir ../tarballs/tmp
-	#@@svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ../tarballs/ptlib-$(UPVERSION).tmp
-	#@@cd ../tarballs/ptlib-$(UPVERSION).tmp; svn2cl -o changelog
-	#@@cd ../tarballs/ptlib-$(UPVERSION).tmp; tar cvf ../$(FILENAME) *
-	#@@rm -rf ../tarballs/ptlib-$(UPVERSION).tmp
-	#@@echo Ready for packaging.
+	@@echo Checking out for repacking (might take 15 min) ...
+	@@svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk@20732 ../tarballs/ptlib-20732.tmp
+	@@echo Getting the changelog (might take 15 min) ...
+	@@cd ../tarballs/ptlib-20732.tmp; svn2cl -o changelog
+	@@echo Creating the tarball ...
+	@@cd ../tarballs/ptlib-20732.tmp; find . -name .svn -exec rm -rf {} \; ; tar zcf ../ptlib.orig.tar.gz *
+	@@rm -rf ../tarballs/ptlib-20732.tmp
+	@@echo Ready for packaging.
 
 binary: binary-arch binary-indep
 .PHONY: build clean clean-patched binary-indep binary-arch binary install install-indep install-arch




More information about the Pkg-voip-commits mailing list