[med-svn] r9658 - trunk/packages/fis-gtm/fis-gtm/trunk/debian
Luis Ibanez
luisibanez-guest at alioth.debian.org
Sun Feb 12 20:48:34 UTC 2012
Author: luisibanez-guest
Date: 2012-02-12 20:48:34 +0000 (Sun, 12 Feb 2012)
New Revision: 9658
Modified:
trunk/packages/fis-gtm/fis-gtm/trunk/debian/changelog
trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules
Log:
ENH: Introducing installation steps.
First using setupenv.sh to package the build into
a tar.gz file, as it is preconfigured already in
the sr_unix/comlist.mk makefile file. Then copy
that tar.gz file to the debian subdir of the build
and expand it there.
Modified: trunk/packages/fis-gtm/fis-gtm/trunk/debian/changelog
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/changelog 2012-02-12 20:33:38 UTC (rev 9657)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/changelog 2012-02-12 20:48:34 UTC (rev 9658)
@@ -14,6 +14,8 @@
- override_dh_auto_configure now restores the extra files from the
helper directory: fis-gtm-src-extras
- now uses setupenv.sh from the fis-gtm-src-extras directory.
+ - now using setupenv.sh for packaging and then installing
+ in the override_dh_auto_install stage.
* debian/get-orig-source:
- Extra source files are now expanded in fis-gtm-src-extras
directory, and this new directory is now part of the orig.tar.gz.
Modified: trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules 2012-02-12 20:33:38 UTC (rev 9657)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules 2012-02-12 20:48:34 UTC (rev 9658)
@@ -7,6 +7,8 @@
SRC_EXTRAS_DIR=fis-gtm-src-extras
+PKG := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+
%:
dh $@
@@ -22,7 +24,10 @@
tcsh ./$(SRC_EXTRAS_DIR)/setupenv.sh
override_dh_auto_install:
+ tcsh ./$(SRC_EXTRAS_DIR)/setupenv.sh package
+ cp ./gtm_V54002B_linux_i586_pro.tar.gz $(CURDIR)/debian/$(PKG)/usr
+ cd $(CURDIR)/debian/$(PKG)/usr
+ tar xzf ./gtm_V54002B_linux_i586_pro.tar.gz
-
get-orig-source:
uscan --verbose --force-download
More information about the debian-med-commit
mailing list