[med-svn] r4330 - trunk/packages/gdcm/trunk/debian
Mathieu Malaterre
malat-guest at alioth.debian.org
Wed Nov 11 17:50:47 UTC 2009
Author: malat-guest
Date: 2009-11-11 17:50:47 +0000 (Wed, 11 Nov 2009)
New Revision: 4330
Modified:
trunk/packages/gdcm/trunk/debian/rules
Log:
get-orig-source should produce tarball in current working dir
Modified: trunk/packages/gdcm/trunk/debian/rules
===================================================================
--- trunk/packages/gdcm/trunk/debian/rules 2009-11-11 14:14:23 UTC (rev 4329)
+++ trunk/packages/gdcm/trunk/debian/rules 2009-11-11 17:50:47 UTC (rev 4330)
@@ -10,6 +10,17 @@
include /usr/share/quilt/quilt.make
+VER_MAJOR = 2
+VER_MINOR = 0
+VER_PATCH = 13
+
+VER_FULL = $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH)
+SOVERSION = $(VER_MAJOR).$(VER_MINOR)
+
+UPSTREAM_SRC = gdcm-$(VER_FULL)
+DEBIAN_SRC_DIR = gdcm-$(VER_FULL)
+DEBIAN_SRC_TAR = gdcm_$(VER_FULL).orig.tar.gz
+
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -190,8 +201,16 @@
binary-%: install
make -f $(SRC)/debian/rules binary-common DH_OPTIONS=-p$*
-get-orig-source:
- uscan --force-download --verbose
+#get-orig-source:
+# uscan --force-download --verbose
+$(UPSTREAM_SRC).tar.gz:
+ wget http://voxel.dl.sourceforge.net/sourceforge/gdcm/$@
+get-orig-source: $(UPSTREAM_SRC).tar.gz
+ tar xzf $(UPSTREAM_SRC).tar.gz
+ GZIP=-9 tar czf $(DEBIAN_SRC_TAR) $(DEBIAN_SRC_DIR)
+ rm -rf $(DEBIAN_SRC_DIR)
+
+
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary-common binary install install-common
More information about the debian-med-commit
mailing list