[med-svn] [probabel] 01/01: Split the architecture independent examples into a separate package.

Lennart Karssen lckarssen-guest at moszumanska.debian.org
Mon Dec 16 23:08:45 UTC 2013


This is an automated email from the git hooks/post-receive script.

lckarssen-guest pushed a commit to branch master
in repository probabel.

commit d5532c9f685ba5a07eecc67396649611281a8451
Author: L.C. Karssen <lennart at karssen.org>
Date:   Tue Dec 17 00:08:34 2013 +0100

    Split the architecture independent examples into a separate package.
---
 debian/control                   | 12 ++++++++++++
 debian/probabel-examples.install |  2 ++
 debian/probabel.install          |  4 ++++
 debian/rules                     | 11 ++++++++---
 4 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 3401a3e..0b75722 100644
--- a/debian/control
+++ b/debian/control
@@ -25,3 +25,15 @@ Description: Toolset for Genome-Wide Association Analysis
  The ProbABEL package is part of the GenABEL project for analysis of genome-wide
  data. ProbABEL is used to run GWAS. Using files in filevector/DatABEL format
  even allows for running GWAS on computers with only a few GB of RAM.
+
+Package: probabel-examples
+Architecture: all
+Recommends: probabel (=${binary:Version})
+Enhances: probabel
+Depends: ${misc:Depends}
+Description: Example files for ProbABEL
+ The ProbABEL package is part of the GenABEL project for analysis of genome-wide
+ data. ProbABEL is used to run GWAS. Using files in filevector/DatABEL format
+ even allows for running GWAS on computers with only a few GB of RAM.
+ .
+ This package contains the example files for the probabel package.
diff --git a/debian/probabel-examples.install b/debian/probabel-examples.install
new file mode 100644
index 0000000..3b9ff71
--- /dev/null
+++ b/debian/probabel-examples.install
@@ -0,0 +1,2 @@
+usr/share/probabel/examples
+usr/share/probabel/scripts
diff --git a/debian/probabel.install b/debian/probabel.install
new file mode 100644
index 0000000..ec6ac42
--- /dev/null
+++ b/debian/probabel.install
@@ -0,0 +1,4 @@
+etc/
+usr/bin/
+usr/share/doc/
+usr/share/man/
diff --git a/debian/rules b/debian/rules
index 01bb4a5..20dccbf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,11 @@ 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))
 
+# Location of the example files, will be converted to the
+# probabel-examples package
+DEBEXAMPLES:=$(DEBPKGNAME)-examples
+
+
 # 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
@@ -29,7 +34,7 @@ override_dh_installdocs:
 override_dh_installchangelogs:
 	dh_installchangelogs doc/ChangeLog
 
-override_dh_auto_install:
-	dh_auto_install
+override_dh_install:
+	dh_install
 	rm debian/$(DEBPKGNAME)/usr/bin/extract-snp
-	chmod a+x debian/$(DEBPKGNAME)/usr/share/$(DEBPKGNAME)/scripts/extIDS.pl
+	chmod a+x debian/$(DEBEXAMPLES)/usr/share/$(DEBPKGNAME)/scripts/extIDS.pl

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/probabel.git



More information about the debian-med-commit mailing list