The following commit has been merged in the master branch:
commit c0fa49bf487ddc750efef44bfecbcc5c32b86636
Author: Christoph Egger <[email protected]>
Date:   Sun Apr 19 18:49:49 2009 +0200

    get-orig-source target

diff --git a/debian/rules b/debian/rules
index 456db3d..f58ecc1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,20 @@ build-lib-%: $(QUILT_STAMPFN) #move-away
 
 build: build-lib-sharedlib build-lib-staticlib
 
+get-orig-source:
+       mkdir ../repack
+       uscan --force-download --destdir ../repack
+       ( \
+               cd ../repack ;\
+               unzip * ;\
+               cd irrlicht-1.5 ;\
+               rm -rf source/Irrlicht/{jpeglib,zlib,libpng} ;\
+               find . -name \*.exe -exec rm {} \; ;\
+               cd .. ;\
+               GZIP="--best" tar -czf irrlicht_1.5+repack1.orig.tar.gz ;\
+               mv irrlicht_1.5+repack1.orig.tar.gz .. ;\
+       )
+       rm -rf ../repack
 
 clean: unpatch
        dh_testdir

-- 
Packaging the irrlicht game engine

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to