[libnetlib-java] 01/01: Try to use mavenhelper (need some more work ...)

Andreas Tille tille at debian.org
Thu Jan 28 15:41:07 UTC 2016


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

tille pushed a commit to branch master
in repository libnetlib-java.

commit 44ecd61651502b87a4dcf447f228a1810c7b5417
Author: Andreas Tille <tille at debian.org>
Date:   Thu Jan 28 16:40:20 2016 +0100

    Try to use mavenhelper (need some more work ...)
---
 debian/control |  9 +++++----
 debian/rules   | 14 +-------------
 2 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/debian/control b/debian/control
index f4aa168..acd9df8 100644
--- a/debian/control
+++ b/debian/control
@@ -11,8 +11,9 @@ Build-Depends: debhelper (>= 9),
                libjlapack-java,
                javahelper,
                default-jdk,
+               javahelper,
                junit,
-               ant
+               maven-debian-helper
 Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/pkg-java/libnetlib-java.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libnetlib-java.git
@@ -20,11 +21,11 @@ Homepage: https://github.com/fommil/netlib-java/
 
 Package: libnetlib-java
 Architecture: all
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         ${java:Depends},
+Depends: ${misc:Depends},
+         ${maven:Depends},
          f2j,
          libjlapack-java
+Suggests: ${maven:OptionalDepends}
 Description: collection of mission-critical software components for linear algebra systems 
  Netlib is a collection of mission-critical software components for linear
  algebra systems (i.e. working with vectors or matrices).
diff --git a/debian/rules b/debian/rules
index 83d36c0..829c820 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,18 +5,6 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@ --with javahelper
+	dh $@ --buildsystem=maven --with javahelper
 
-override_dh_auto_build:
-	ant clean generate compile package
-
-get-orig-source:
-	debian/get-orig-source
-
-override_jh_installjavadoc:
-	jh_installjavadoc dist/javadoc
-
-override_dh_clean:
-	rm -f netlib-java.jar
-	dh_clean
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libnetlib-java.git



More information about the pkg-java-commits mailing list