[SCM] mapnik-vector-tile branch, master, updated. debian/0.3.2-3-11-g07e4c55
Jérémy Lal
kapouer at melix.org
Mon Sep 16 00:10:52 UTC 2013
The following commit has been merged in the master branch:
commit cd166e8cc4330f73a002bcf89bb70a17d05301ee
Author: Jérémy Lal <kapouer at melix.org>
Date: Sun Sep 15 18:52:03 2013 +0200
get-orig-source target
diff --git a/debian/rules b/debian/rules
index 1fc8d92..39f17ed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,28 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+dfsgVersion := $(shell dpkg-parsechangelog -SVersion | cut -d- -f1)
+upstreamVersion := $(shell echo $(dfsgVersion) | cut -d+ -f1)
+name := $(shell dpkg-parsechangelog -SSource)
+tarDir := $(name)-$(upstreamVersion)
+tarName := $(name)_$(dfsgVersion).orig.tar
+
%:
dh $@
-override_dh_auto_test:
- #pass
+get-orig-source:
+ mkdir -p ../tarballs
+ uscan \
+ --verbose \
+ --download-version $(upstreamVersion) \
+ --force-download \
+ --destdir ../tarballs \
+ --rename
+ tar xvf ../tarballs/$(name)_$(upstreamVersion).orig.tar.gz
+ @echo Repackaging
+ rm -rf $(tarDir)/test/catch.hpp
+ tar cf $(tarName) $(tarDir)/
+ rm -rf $(tarDir)/
+ gzip -9 $(tarName)
+ mv $(tarName).gz ../tarballs/
+
--
Vector tiles integration with mapnik - development files
More information about the Pkg-grass-devel
mailing list