pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/TinySVM Import TinySVM-0.09 as math/TinySVM.
details: https://anonhg.NetBSD.org/pkgsrc/rev/20f8d19c7af2
branches: trunk
changeset: 575647:20f8d19c7af2
user: obache <obache%pkgsrc.org@localhost>
date: Wed May 19 11:47:15 2010 +0000
description:
Import TinySVM-0.09 as math/TinySVM.
TinySVM is an implementation of Support Vector Machines (SVMs) [Vapnik 95],
[Vapnik 98] for the problem of pattern recognition. Support Vector Machines is a
new generation learning algorithms based on recent advances in statistical
learning theory, and applied to large number of real-world applications, such as
text categorization, hand-written character recognition.
diffstat:
math/TinySVM/DESCR | 5 +++++
math/TinySVM/Makefile | 21 +++++++++++++++++++++
math/TinySVM/PLIST | 16 ++++++++++++++++
math/TinySVM/buildlink3.mk | 12 ++++++++++++
math/TinySVM/distinfo | 6 ++++++
math/TinySVM/patches/patch-aa | 14 ++++++++++++++
6 files changed, 74 insertions(+), 0 deletions(-)
diffs (98 lines):
diff -r 9f9b47a4c8c8 -r 20f8d19c7af2 math/TinySVM/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/TinySVM/DESCR Wed May 19 11:47:15 2010 +0000
@@ -0,0 +1,5 @@
+TinySVM is an implementation of Support Vector Machines (SVMs) [Vapnik 95],
+[Vapnik 98] for the problem of pattern recognition. Support Vector Machines is a
+new generation learning algorithms based on recent advances in statistical
+learning theory, and applied to large number of real-world applications, such as
+text categorization, hand-written character recognition.
diff -r 9f9b47a4c8c8 -r 20f8d19c7af2 math/TinySVM/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/TinySVM/Makefile Wed May 19 11:47:15 2010 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/19 11:47:15 obache Exp $
+#
+
+DISTNAME= TinySVM-0.09
+CATEGORIES= math
+MASTER_SITES= http://www.chasen.org/~taku/software/TinySVM/src/
+
+MAINTAINER= obache%NetBSD.org@localhost
+HOMEPAGE= http://www.chasen.org/~taku/software/TinySVM/
+COMMENT= Tiny Support Vector Machines
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+
+TEST_TARGET= check
+
+.include "../../mk/bsd.pkg.mk"
diff -r 9f9b47a4c8c8 -r 20f8d19c7af2 math/TinySVM/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/TinySVM/PLIST Wed May 19 11:47:15 2010 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/19 11:47:15 obache Exp $
+bin/svm_classify
+bin/svm_learn
+bin/svm_model
+include/TinySVM/base_example.h
+include/TinySVM/classifier.h
+include/TinySVM/example.h
+include/TinySVM/kernel.h
+include/TinySVM/misc.h
+include/TinySVM/model.h
+include/TinySVM/param.h
+include/tinysvm.h
+lib/libtinysvm.la
+man/man1/svm_classify.1
+man/man1/svm_learn.1
+man/man1/svm_model.1
diff -r 9f9b47a4c8c8 -r 20f8d19c7af2 math/TinySVM/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/TinySVM/buildlink3.mk Wed May 19 11:47:15 2010 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/05/19 11:47:15 obache Exp $
+
+BUILDLINK_TREE+= TinySVM
+
+.if !defined(TINYSVM_BUILDLINK3_MK)
+TINYSVM_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.TinySVM+= TinySVM>=0.09
+BUILDLINK_PKGSRCDIR.TinySVM?= ../../math/TinySVM
+.endif # TINYSVM_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -TinySVM
diff -r 9f9b47a4c8c8 -r 20f8d19c7af2 math/TinySVM/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/TinySVM/distinfo Wed May 19 11:47:15 2010 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/19 11:47:15 obache Exp $
+
+SHA1 (TinySVM-0.09.tar.gz) = 9c3c36454c475180ef6646d059376f35549cad08
+RMD160 (TinySVM-0.09.tar.gz) = d44586810d4776a251cda4a08b1aa9148108c8e6
+Size (TinySVM-0.09.tar.gz) = 317636 bytes
+SHA1 (patch-aa) = bbeefe45ecf7f447eb8b6f692d035b74f01cb7a8
diff -r 9f9b47a4c8c8 -r 20f8d19c7af2 math/TinySVM/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/TinySVM/patches/patch-aa Wed May 19 11:47:15 2010 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/05/19 11:47:15 obache Exp $
+
+declaration of C function 'int getopt()' conflicts with unistd.h.
+
+--- src/getopt.h.orig 2002-08-20 15:31:17.000000000 +0900
++++ src/getopt.h
+@@ -128,7 +128,6 @@ struct option
+ errors, only prototype getopt for the GNU C library. */
+ extern int getopt (int argc, char *const *argv, const char *shortopts);
+ #else /* not __GNU_LIBRARY__ */
+-extern int getopt ();
+ #endif /* __GNU_LIBRARY__ */
+ extern int getopt_long (int argc, char *const *argv, const char *shortopts,
+ const struct option *longopts, int *longind);
Home |
Main Index |
Thread Index |
Old Index