[med-svn] [nanook] 01/01: Build some JAR file successfully

Andreas Tille tille at debian.org
Fri Sep 1 13:24:02 UTC 2017


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

tille pushed a commit to branch master
in repository nanook.

commit fdc27085098cacbc66b7ce170ed2e144e21032e4
Author: Andreas Tille <tille at debian.org>
Date:   Fri Sep 1 15:23:37 2017 +0200

    Build some JAR file successfully
---
 debian/control | 13 +++++++++----
 debian/jlibs   |  1 +
 debian/rules   | 18 ++++--------------
 3 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/debian/control b/debian/control
index 603be74..b829d13 100644
--- a/debian/control
+++ b/debian/control
@@ -3,16 +3,21 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 10)
+Build-Depends: debhelper (>= 10),
+               default-jdk,
+               javahelper,
+               libcommons-io-java
 Standards-Version: 4.1.0
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/nanook.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/nanook.git
 Homepage: https://documentation.tgac.ac.uk/display/NANOOK/NanoOK
 
 Package: nanook
-Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
+Architecture: all
+Depends: ${java:Depends},
+         ${misc:Depends},
+         default-jre-headless
+Suggests: default-jre
 Description: pre- and post-alignment analysis of nanopore sequencing data
  NanoOK is a flexible, multi-reference software for pre- and post-
  alignment analysis of nanopore sequencing data, quality and error
diff --git a/debian/jlibs b/debian/jlibs
new file mode 100644
index 0000000..62fb97c
--- /dev/null
+++ b/debian/jlibs
@@ -0,0 +1 @@
+nanook.jar
diff --git a/debian/rules b/debian/rules
index 62983db..4316c3c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,20 +3,10 @@
 # DH_VERBOSE := 1
 export LC_ALL=C.UTF-8
 
-include /usr/share/dpkg/default.mk
-# this provides:
-# DEB_SOURCE: the source package name
-# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision)
-# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision
-# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch
-# DEB_VERSION_UPSTREAM: the package's upstream version
-# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog
-
-# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export CLASSPATH=/usr/share/java/commons-io.jar
 
 %:
-	dh $@
+	dh $@ --with javahelper
 
-#get-orig-source:
-#	. debian/get-orig-source
+override_dh_auto_build:
+	jh_build -J nanook.jar src/nanook

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/nanook.git



More information about the debian-med-commit mailing list