[DebianGIS-dev] [SCM] mapnik-viewer branch, master, updated. upstream/0.0.svn1351-5-g72c4af1
David Paleino
dapal at debian.org
Tue Mar 16 09:40:26 UTC 2010
The following commit has been merged in the master branch:
commit 0414c90ed3d3e983cc86ea2e5c7a399ce9635e89
Author: David Paleino <dapal at debian.org>
Date: Tue Mar 16 10:38:54 2010 +0100
Added get-orig-source
diff --git a/debian/rules b/debian/rules
index 6cf1c79..34e00e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,9 @@
# -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG \
# -Wno-missing-field-initializers
+REPO := http://svn.mapnik.org/trunk/demo/viewer
+SVNREV := $(shell dpkg-parsechangelog | grep ^Version | cut -d- -f1 | awk -F"~svn" '{print $$2}' )
+
override_dh_auto_install:
install -D -T -m 755 viewer $(CURDIR)/debian/mapnik-viewer/usr/bin/mapnik-viewer
@@ -17,3 +20,9 @@ override_dh_auto_build:
%:
dh $@
+
+get-orig-source:
+ svn checkout -r $(SVNREV) $(REPO) mapnik-viewer-0.0~svn$(SVNREV)/
+ find mapnik-viewer-0.0~svn*/ -name ".svn" | xargs rm -vrf
+ tar zcf mapnik-viewer_0.0~svn$(SVNREV).orig.tar.gz mapnik-viewer-0.0~svn$(SVNREV)/
+ rm -vrf mapnik-viewer-0.0~svn$(SVNREV)/
--
mapnik-viewer
More information about the Pkg-grass-devel
mailing list