summaryrefslogtreecommitdiff
path: root/math/libsvm
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-04-02 07:31:43 +0000
committerrodent <rodent@pkgsrc.org>2014-04-02 07:31:43 +0000
commit56bc271e84aa1ca26f0c5f2b9e33c36540c157b3 (patch)
tree031be9c3116e9f01db0838340cf1559a1720e0e0 /math/libsvm
parent780c2b5fae313e4792660cffecc4450aba264b54 (diff)
downloadpkgsrc-56bc271e84aa1ca26f0c5f2b9e33c36540c157b3.tar.gz
Import libsvm-3.18 as math/libsvm.
LIBSVM is an integrated software for support vector classification, (C-SVC, nu- SVC), regression (epsilon-SVR, nu-SVR) and distribution estimation (one-class SVM). It supports multi-class classification.
Diffstat (limited to 'math/libsvm')
-rw-r--r--math/libsvm/DESCR3
-rw-r--r--math/libsvm/Makefile28
-rw-r--r--math/libsvm/PLIST7
-rw-r--r--math/libsvm/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/math/libsvm/DESCR b/math/libsvm/DESCR
new file mode 100644
index 00000000000..7a34770379a
--- /dev/null
+++ b/math/libsvm/DESCR
@@ -0,0 +1,3 @@
+LIBSVM is an integrated software for support vector classification, (C-SVC, nu-
+SVC), regression (epsilon-SVR, nu-SVR) and distribution estimation (one-class
+SVM). It supports multi-class classification.
diff --git a/math/libsvm/Makefile b/math/libsvm/Makefile
new file mode 100644
index 00000000000..efee13596d5
--- /dev/null
+++ b/math/libsvm/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2014/04/02 07:31:43 rodent Exp $
+#
+
+DISTNAME= libsvm-3.18
+CATEGORIES= math
+MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://www.csie.ntu.edu.tw/~cjlin/libsvm/
+COMMENT= Library for Support Vector Machines
+LICENSE= modified-bsd
+
+USE_LANGUAGES= c c++
+
+BUILD_TARGET= all lib
+INSTALLATION_DIRS+= bin lib share/doc/${PKGBASE} share/examples/${PKGBASE}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/svm-predict ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/svm-scale ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/svm-train ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_LIB} ${WRKSRC}/libsvm.so.2 ${DESTDIR}${PREFIX}/lib
+ ${INSTALL_DATA} ${WRKSRC}/FAQ.html \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/heart_scale \
+ ${DESTDIR}${PREFIX}/share/examples/${PKGBASE}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/libsvm/PLIST b/math/libsvm/PLIST
new file mode 100644
index 00000000000..e78b97f94f3
--- /dev/null
+++ b/math/libsvm/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2014/04/02 07:31:43 rodent Exp $
+bin/svm-predict
+bin/svm-scale
+bin/svm-train
+lib/libsvm.so.2
+share/doc/libsvm/FAQ.html
+share/examples/libsvm/heart_scale
diff --git a/math/libsvm/distinfo b/math/libsvm/distinfo
new file mode 100644
index 00000000000..2128664ff50
--- /dev/null
+++ b/math/libsvm/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/04/02 07:31:43 rodent Exp $
+
+SHA1 (libsvm-3.18.tar.gz) = 20bd3e2d21d79c3714007043475b92dfeed29135
+RMD160 (libsvm-3.18.tar.gz) = 755ff7736fbb066f81c8650408d6ee2f35cd63b4
+Size (libsvm-3.18.tar.gz) = 610100 bytes