[med-svn] [ngs-sdk] 03/15: add java binding

Olivier Sallou osallou at debian.org
Tue Jan 5 13:48:15 UTC 2016


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

osallou pushed a commit to branch master
in repository ngs-sdk.

commit c21fdc721f756e432eb434b92ea78e5fa019059c
Author: Olivier Sallou <olivier.sallou at debian.org>
Date:   Mon Jan 4 12:00:20 2016 +0100

    add java binding
---
 debian/control | 4 +++-
 debian/rules   | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index b1f1a64..87ea8f4 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,9 @@ Build-Depends: debhelper (>= 9),
                python-markdown,
                python-all-dev,
                python3-all-dev,
-               dh-python
+               dh-python,
+               javahelper,
+               openjdk-8-jdk
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/ngs-sdk.git
 Vcs-Git: git://anonscm.debian.org/debian-med/ngs-sdk.git
diff --git a/debian/rules b/debian/rules
index 1d58d90..1d9cd83 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ build2vers := $(shell pyversions -sv)
 build3vers := $(shell py3versions -sv)
 
 %:
-	dh $@ --with python2,python3
+	dh $@ --with python2,python3,javahelper
 
 override_dh_auto_clean:
 	if [ -e ngs-sdk/Makefile.config.$(OS).$(CPU)] ; then \
@@ -61,13 +61,13 @@ override_dh_install:
 	dh_install -ppython3-ngs
 	set -e && for i in $(build3vers); do \
 		cd ngs-python ; \
-		python$$i ./setup.py install --install-layout=deb --root ../debian/python3-ngs; \
+		python$$i ./setup.py install --install-layout=deb --root ../debian/python3-ngs-sdk; \
 		cd .. ; \
 	done
 	dh_install -ppython-ngs
 	set -e && for i in $(build2vers); do \
 		cd ngs-python ; \
-		python$$i ./setup.py install --install-layout=deb --root ../debian/python-ngs; \
+		python$$i ./setup.py install --install-layout=deb --root ../debian/python-ngs-sdk; \
 		cd .. ; \
 	done
 	find debian -name "*.pyc" -delete

-- 
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