[med-svn] r18483 - trunk/packages/ngsqctoolkit/trunk/debian
Andreas Tille
tille at moszumanska.debian.org
Fri Nov 14 15:23:27 UTC 2014
Author: tille
Date: 2014-11-14 15:23:26 +0000 (Fri, 14 Nov 2014)
New Revision: 18483
Added:
trunk/packages/ngsqctoolkit/trunk/debian/docs
trunk/packages/ngsqctoolkit/trunk/debian/install
Modified:
trunk/packages/ngsqctoolkit/trunk/debian/changelog
trunk/packages/ngsqctoolkit/trunk/debian/rules
Log:
Get the files somehow arranged inside the packaging file system - now it would be time for testing. Any volunteer?
Modified: trunk/packages/ngsqctoolkit/trunk/debian/changelog
===================================================================
--- trunk/packages/ngsqctoolkit/trunk/debian/changelog 2014-11-14 14:08:33 UTC (rev 18482)
+++ trunk/packages/ngsqctoolkit/trunk/debian/changelog 2014-11-14 15:23:26 UTC (rev 18483)
@@ -2,4 +2,4 @@
* Initial release (Closes: #<bug>)
- -- DMPT <debian-med-packaging at lists.alioth.debian.org> Thu, 24 May 2012 14:30:13 +0200
+ -- Andreas Tille <tille at debian.org> Fri, 14 Nov 2014 16:21:56 +0100
Added: trunk/packages/ngsqctoolkit/trunk/debian/docs
===================================================================
--- trunk/packages/ngsqctoolkit/trunk/debian/docs (rev 0)
+++ trunk/packages/ngsqctoolkit/trunk/debian/docs 2014-11-14 15:23:26 UTC (rev 18483)
@@ -0,0 +1 @@
+NGSQCToolkitv2.3.3_manual.pdf
Added: trunk/packages/ngsqctoolkit/trunk/debian/install
===================================================================
--- trunk/packages/ngsqctoolkit/trunk/debian/install (rev 0)
+++ trunk/packages/ngsqctoolkit/trunk/debian/install 2014-11-14 15:23:26 UTC (rev 18483)
@@ -0,0 +1,2 @@
+QC/lib/* usr/share/perl5/ngsqctoolkit
+*/*.pl usr/share/ngsqctoolkit
Modified: trunk/packages/ngsqctoolkit/trunk/debian/rules
===================================================================
--- trunk/packages/ngsqctoolkit/trunk/debian/rules 2014-11-14 14:08:33 UTC (rev 18482)
+++ trunk/packages/ngsqctoolkit/trunk/debian/rules 2014-11-14 15:23:26 UTC (rev 18483)
@@ -2,22 +2,20 @@
# DH_VERBOSE := 1
-# some helpful variables - uncomment them if needed
-# shamelessly stolen from http://jmtd.net/log/awk/
-#DEBVERS := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-#VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
-#DEBFLAVOR := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
-#DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-#DEBIAN_BRANCH := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
-#GIT_TAG := $(subst ~,_,$(VERSION))
+DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-# alternatively to manually set those variables you can
-# include /usr/share/cdbs/1/rules/buildvars.mk
-# and use what is set there. Any hint whether dh might set variables in
-# a similar manner are welcome.
-
%:
dh $@
+override_dh_fixperms:
+ dh_fixperms
+ chmod +x debian/$(DEBPKGNAME)/usr/share/ngsqctoolkit/*.pl
+
+override_dh_link:
+ mkdir -p debian/$(DEBPKGNAME)/usr/bin
+ for pl in debian/$(DEBPKGNAME)/usr/share/ngsqctoolkit/*.pl ; do \
+ ln -s ../share/ngsqctoolkit/`basename $${pl}` debian/$(DEBPKGNAME)/usr/bin/`basename $${pl} .pl` ; \
+ done
+
#get-orig-source:
# . debian/get-orig-source
More information about the debian-med-commit
mailing list