Author: luisibanez-guest
Date: 2012-02-08 04:09:38 +0000 (Wed, 08 Feb 2012)
New Revision: 9618

Added:
   trunk/packages/fis-gtm/fis-gtm/trunk/debian/get-orig-source
Modified:
   trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules
Log:
ENH: Get standard source code from upstream.


Added: trunk/packages/fis-gtm/fis-gtm/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/get-orig-source                 
        (rev 0)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/get-orig-source 2012-02-08 
04:09:38 UTC (rev 9618)
@@ -0,0 +1,9 @@
+#!/usr/bin/sh
+
+UPSTREAM_SRC=gtm_V54002B_linux_i686_src
+UPSTREAM_SRC_TGZ=${UPSTREAM_SRC}.tar.gz
+
+mkdir -p fis-gtm
+cd fis-gtm
+tar xzf ../${UPSTREAM_SRC_TGZ}
+


Property changes on: trunk/packages/fis-gtm/fis-gtm/trunk/debian/get-orig-source
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules   2012-02-08 03:22:00 UTC 
(rev 9617)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules   2012-02-08 04:09:38 UTC 
(rev 9618)
@@ -5,6 +5,10 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+UPSTREAM_SRC = gtm_V54002B_linux_i686_src
+UPSTREAM_SITE = 
http://sourceforge.net/projects/fis-gtm/files/GT.M-x86-Linux-src/V5.4-002B
+UPSTREAM_SRC_TGZ = $(UPSTREAM_SRC).tar.gz
+
 %:
        dh $@ 
 
@@ -14,3 +18,11 @@
 
 override_dh_auto_install:
 
+$(UPSTREAM_SRC_TGZ):
+       wget $(UPSTREAM_SITE)/$(UPSTREAM_SRC_TGZ)
+
+$(EXTRA_SRC).tar.gz:
+
+get-orig-source: $(UPSTREAM_SRC_TGZ)
+       . ./debian/get-orig-source
+


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to