[med-svn] [sra-sdk] 01/02: Fix installation of binaries, we do not need versioned binaries with symlinks
Andreas Tille
tille at debian.org
Sat Jul 23 21:58:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository sra-sdk.
commit 7f5fc1c40129082028227efc0d0c30fb1d0805bf
Author: Andreas Tille <tille at debian.org>
Date: Sat Jul 23 23:04:28 2016 +0200
Fix installation of binaries, we do not need versioned binaries with symlinks
---
debian/docs | 1 -
debian/rules | 8 ++++++++
debian/sra-toolkit.install | 7 ++++---
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/debian/docs b/debian/docs
index d804f47..e845566 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,2 +1 @@
README
-doc/help
diff --git a/debian/rules b/debian/rules
index 4862643..5991e74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,15 @@ override_dh_auto_configure:
override_dh_auto_build:
export LD_LIBRARY_PATH="$$LD_LIBRARY_PATH:$(OUTDIR)/lib"; export OUTDIR=$(OUTDIR) ; make DEB_CFLAGS="$(CFLAGS)" DEB_LDFLAGS="$(LDFLAGS)"
+override_dh_install:
+ # upstream installs versioned *.a libs - we only want a single version
+ for bin in debian/tmp/usr/bin/*[a-z] ; do \
+ mv debian/tmp/usr/bin/`readlink $$bin` $$bin ; \
+ mv debian/tmp/usr/bin/`readlink $$bin` $$bin ; \
+ done
+
override_dh_auto_test:
+ echo "FIXME: try activating tests!!!!!!!!!!!!!!!!!!!!!!!!"
override_dh_prep:
dh_prep -X debian/tmp
diff --git a/debian/sra-toolkit.install b/debian/sra-toolkit.install
index 790e7d8..7819fdc 100644
--- a/debian/sra-toolkit.install
+++ b/debian/sra-toolkit.install
@@ -1,3 +1,4 @@
-bin??/* usr/bin
-schema/*/*.vschema usr/lib/ncbi/schema
-lib??/ncbi/*.kfg /etc/ncbi
+usr/bin usr
+# may be the following needs to be done in ncbi-vdb
+#schema/*/*.vschema usr/lib/ncbi/schema
+#lib??/ncbi/*.kfg /etc/ncbi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sra-sdk.git
More information about the debian-med-commit
mailing list