[med-svn] [gatb-core] 02/03: Fix installation
Andreas Tille
tille at debian.org
Thu Dec 14 08:59:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository gatb-core.
commit c89fb1650b688b7cafd7f8a7f61953b5cd00e15e
Author: Andreas Tille <tille at debian.org>
Date: Thu Dec 14 09:31:36 2017 +0100
Fix installation
---
debian/control | 5 +++--
debian/gatb-core-testdata.links | 1 +
debian/gatb-core.install | 1 +
debian/libgatbcore-dev.examples | 2 +-
debian/rules | 5 +++++
5 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 822756f..2cc5a9f 100644
--- a/debian/control
+++ b/debian/control
@@ -78,9 +78,10 @@ Description: development library of the Genome Analysis Toolbox
of the gatb-core library.
Package: gatb-core-testdata
-Architecture: any
+Architecture: all
Depends: ${shlibs:Depends},
- ${misc:Depends}
+ ${misc:Depends},
+ gatb-core
Description: Genome Analysis Toolbox with de-Bruijn graph (test data)
The GATB-CORE project provides a set of highly efficient
algorithms to analyse NGS data sets. These methods enable
diff --git a/debian/gatb-core-testdata.links b/debian/gatb-core-testdata.links
new file mode 100644
index 0000000..3e357db
--- /dev/null
+++ b/debian/gatb-core-testdata.links
@@ -0,0 +1 @@
+usr/lib/gatb-core/gatb-core-cppunit usr/share/doc/gatb-core/test/gatb-core-cppunit
diff --git a/debian/gatb-core.install b/debian/gatb-core.install
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/gatb-core.install
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/libgatbcore-dev.examples b/debian/libgatbcore-dev.examples
index 96367d5..8490f0a 100644
--- a/debian/libgatbcore-dev.examples
+++ b/debian/libgatbcore-dev.examples
@@ -1 +1 @@
-debian/tmp/usr/share/doc/gatb-core/examples
+debian/tmp/usr/share/doc/gatb-core/examples/*
diff --git a/debian/rules b/debian/rules
index 484a91e..b474507 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/default.mk
+pkgtestdata=$(DEB_SOURCE)-testdata
+
%:
dh $@ --sourcedirectory=gatb-core
@@ -14,3 +17,5 @@ override_dh_install:
--exclude-la \
--movedev debian/tmp/usr/include usr \
debian/tmp/usr/lib/*/*.so
+ mkdir -p debian/$(DEB_SOURCE)/usr/lib/$(DEB_SOURCE)
+ mv debian/$(pkgtestdata)/usr/share/doc/$(DEB_SOURCE)/test/gatb-core-cppunit debian/$(DEB_SOURCE)/usr/lib/$(DEB_SOURCE)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gatb-core.git
More information about the debian-med-commit
mailing list