[weka] 01/03: Suggest and use libsvm.jar if available

Tony Mancill tmancill at alioth.debian.org
Wed Sep 4 04:27:49 UTC 2013


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

tmancill pushed a commit to branch master
in repository weka.

commit 3ee01891553b09c2e2a1e74bc798b68a8e8199d8
Author: tony mancill <tmancill at debian.org>
Date:   Tue Sep 3 21:24:31 2013 -0700

    Suggest and use libsvm.jar if available
    
    update the /usr/bin/weka wrapper script to find the libsvm.jar if it
    is available.
---
 debian/bin/weka |    2 +-
 debian/control  |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/bin/weka b/debian/bin/weka
index 34c87e7..9e2ee20 100644
--- a/debian/bin/weka
+++ b/debian/bin/weka
@@ -48,5 +48,5 @@ done
 
 find_java_runtime openjdk6 sun6 || \
 	( echo "$0: Java not found, aborting." >&2 && exit 1 )
-find_jars weka.jar
+find_jars weka.jar libsvm.jar
 JAVA_ARGS=-Xmx$MEMORY run_java $CLASS $GUI $@
diff --git a/debian/control b/debian/control
index a7fe72c..16a16d7 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,7 @@ Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends},
  default-jre | java7-runtime | java6-runtime,
  java-wrappers, cup (>=0.11a+20060608)
+Suggests: libsvm-java
 Description: Machine learning algorithms for data mining tasks
  Weka is a collection of machine learning algorithms in Java that can
  either be used from the command-line, or called from your own Java

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



More information about the pkg-java-commits mailing list