[med-svn] [ngs-sdk] 01/02: Apply patch by Graham Inggs <ginggs at debian.org>
Andreas Tille
tille at debian.org
Sat Apr 1 20:48:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository ngs-sdk.
commit 63712a710a2c2b6a9cd90ca20d8b9ea16dbe98cb
Author: Andreas Tille <tille at debian.org>
Date: Sat Apr 1 22:31:29 2017 +0200
Apply patch by Graham Inggs <ginggs at debian.org>
---
debian/rules | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/debian/rules b/debian/rules
index 002eb15..946521f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,9 +8,9 @@ DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
OS := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
CPU := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
-BUILDTYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# since build-results are not ending up in the proper dir its saver to use "*" instead of "$(CPU)"
-SODIR := $(DEBPKGNAME)/$(BUILDTYPE)/$(DEBPKGNAME)/$(OS)/gcc/*
+SODIR := $(DEBPKGNAME)/$(MULTIARCH)/$(DEBPKGNAME)/$(OS)/gcc/*
build2vers := $(shell pyversions -sv)
build3vers := $(shell py3versions -sv)
@@ -23,19 +23,19 @@ override_dh_auto_clean:
# dh_auto_clean --sourcedirectory=$(DEBPKGNAME) ; \
dh_auto_clean ; \
fi
- rm -rf ngs-java/$(BUILDTYPE)
- rm -rf ngs-bam/$(BUILDTYPE)
+ rm -rf ngs-java/$(MULTIARCH)
+ rm -rf ngs-bam/$(MULTIARCH)
rm -f ngs-bam/Makefile.config
rm -f ngs-bam/Makefile.config.install.linux.x86_64.prl
rm -f ngs-bam/Makefile.config.linux.x86_64
rm -f ngs-bam/reconfigure
- rm -rf $(DEBPKGNAME)/$(BUILDTYPE)
+ rm -rf $(DEBPKGNAME)/$(MULTIARCH)
rm -rf ngs-python/build
override_dh_auto_configure:
# # that's no standard configure script lacking support of default options \
- ./configure --build=$(BUILDTYPE) --prefix=/usr -- --source=1.7
+ ./configure --build=$(MULTIARCH) --prefix=/usr -- --source=1.7
override_dh_auto_build:
#dh_auto_build --sourcedirectory=$(DEBPKGNAME)
@@ -43,7 +43,7 @@ override_dh_auto_build:
dh_auto_build --sourcedirectory=$(DEBPKGNAME)
# Remove ngs-bam generation, expects ngs-sdk and cannot find a way
# to specify it
- #cd ngs-bam && LD_LIBRARY_PATH=../$(SODIR)/rel/lib ./configure --build=$(BUILDTYPE) --prefix=/usr --with-ngs-sdk-prefix=../ngs-sdk
+ #cd ngs-bam && LD_LIBRARY_PATH=../$(SODIR)/rel/lib ./configure --build=$(MULTIARCH) --prefix=/usr --with-ngs-sdk-prefix=../ngs-sdk
#dh_auto_build --sourcedirectory=ngs-bam
dh_auto_build --sourcedirectory=ngs-java -- JAVAC="javac -source 1.7 -target 1.7"
markdown_py -f README.html README.md
@@ -52,8 +52,8 @@ override_dh_auto_test:
make -C $(DEBPKGNAME)/test
# Tests of Java binding disabled because need external lib ncbi-vdb,
# not available in Debian at this time
- #CLASSPATH=../$(BUILDTYPE)/ngs-java/jar/ngs-java.jar LD_LIBRARY_PATH=$(SODIR)/rel/lib:$(LD_LIBRARY_PATH) make -C ngs-java/examples
- #CLASSPATH=../$(BUILDTYPE)/ngs-java/jar/ngs-java.jar LD_LIBRARY_PATH=../../$(SODIR)/rel/lib:$(LD_LIBRARY_PATH) make -C ngs-java/examples run_all
+ #CLASSPATH=../$(MULTIARCH)/ngs-java/jar/ngs-java.jar LD_LIBRARY_PATH=$(SODIR)/rel/lib:$(LD_LIBRARY_PATH) make -C ngs-java/examples
+ #CLASSPATH=../$(MULTIARCH)/ngs-java/jar/ngs-java.jar LD_LIBRARY_PATH=../../$(SODIR)/rel/lib:$(LD_LIBRARY_PATH) make -C ngs-java/examples run_all
override_dh_auto_install:
d-shlibmove --commit \
@@ -61,8 +61,8 @@ override_dh_auto_install:
--devunversioned \
--exclude-a \
--exclude-la \
- --movedev "$(SODIR)/rel/lib/*.a*" usr/lib/$(BUILDTYPE) \
- --movedev "$(SODIR)/rel/ilib/*.a" usr/lib/$(BUILDTYPE) \
+ --movedev "$(SODIR)/rel/lib/*.a*" usr/lib/$(MULTIARCH) \
+ --movedev "$(SODIR)/rel/ilib/*.a" usr/lib/$(MULTIARCH) \
--movedev ngs-sdk/ngs usr/include \
$(SODIR)/rel/lib/libngs-sdk.so
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ngs-sdk.git
More information about the debian-med-commit
mailing list