summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2006-10-12 18:30:22 +0000
committergdt <gdt@pkgsrc.org>2006-10-12 18:30:22 +0000
commita2942f0f6ad3dd0139010986b7818ec245dbc123 (patch)
treeef19fea44493e552f541cb990274983c2c9fcd9d
parent636b8b0e7794529d50570867e7ce00d1b40a1a21 (diff)
downloadpkgsrc-a2942f0f6ad3dd0139010986b7818ec245dbc123.tar.gz
Fast Artificial Neural Network Library implements multilayer
artificial neural networks in C with support for both fully connected and sparsely connected networks. Cross-platform execution in both fixed and floating point are supported. It includes a framework for easy handling of training data sets. It is easy to use, versatile, well documented, and fast. Bindings to other programming languages and a GUI are also available. This is a CVS snapshot.
-rw-r--r--devel/fann-devel/DESCR9
-rw-r--r--devel/fann-devel/Makefile20
-rw-r--r--devel/fann-devel/Makefile.common17
-rw-r--r--devel/fann-devel/PLIST26
-rw-r--r--devel/fann-devel/buildlink3.mk19
-rw-r--r--devel/fann-devel/distinfo5
6 files changed, 96 insertions, 0 deletions
diff --git a/devel/fann-devel/DESCR b/devel/fann-devel/DESCR
new file mode 100644
index 00000000000..7604e2916e4
--- /dev/null
+++ b/devel/fann-devel/DESCR
@@ -0,0 +1,9 @@
+Fast Artificial Neural Network Library implements multilayer
+artificial neural networks in C with support for both fully connected
+and sparsely connected networks. Cross-platform execution in both
+fixed and floating point are supported. It includes a framework for
+easy handling of training data sets. It is easy to use, versatile,
+well documented, and fast. Bindings to other programming languages
+and a GUI are also available.
+
+This is a CVS snapshot.
diff --git a/devel/fann-devel/Makefile b/devel/fann-devel/Makefile
new file mode 100644
index 00000000000..c88002ebe6d
--- /dev/null
+++ b/devel/fann-devel/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/10/12 18:30:22 gdt Exp $
+
+.include "Makefile.common"
+
+COMMENT= Fast Artificial Neural Network
+
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+
+USE_LANGUAGES= c c++
+
+PKGCONFIG_OVERRIDE+= fann.pc.in
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fann
+ (cd ${WRKSRC} && ${INSTALL_DATA} doc/* ${PREFIX}/share/doc/fann)
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/fann-devel/Makefile.common b/devel/fann-devel/Makefile.common
new file mode 100644
index 00000000000..8beeb087620
--- /dev/null
+++ b/devel/fann-devel/Makefile.common
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2006/10/12 18:30:22 gdt Exp $
+
+FANNVERSION= 2.1.0
+FANNDATE= 20061012
+DISTNAME= fann-${FANNVERSION}-${FANNDATE}
+PKGNAME= fann-${FANNVERSION}.${FANNDATE}
+EXTRACT_SUFX= .tar.bz2
+CATEGORIES= devel
+
+# temporary to distribute snapshot tarballs - the latest release and beta
+# apparently both do not work with python
+MASTER_SITES= http://acert.ir.bbn.com/downloads/acert/
+
+WRKSRC= ${WRKDIR}/fann-${FANNVERSION}
+
+MAINTAINER= gdt@NetBSD.org
+HOMEPAGE= http://leenissen.dk/fann/
diff --git a/devel/fann-devel/PLIST b/devel/fann-devel/PLIST
new file mode 100644
index 00000000000..c563d750d72
--- /dev/null
+++ b/devel/fann-devel/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/12 18:30:22 gdt Exp $
+include/compat_time.h
+include/doublefann.h
+include/fann.h
+include/fann_activation.h
+include/fann_cascade.h
+include/fann_cpp.h
+include/fann_data.h
+include/fann_error.h
+include/fann_internal.h
+include/fann_io.h
+include/fann_train.h
+include/fixedfann.h
+include/floatfann.h
+lib/libdoublefann.la
+lib/libfann.la
+lib/libfixedfann.la
+lib/libfloatfann.la
+lib/pkgconfig/fann.pc
+share/doc/fann/advancedusage.txt
+share/doc/fann/fann_en.pdf
+share/doc/fann/fixedpointusage.txt
+share/doc/fann/gettingstarted.txt
+share/doc/fann/installation.txt
+share/doc/fann/theory.txt
+@dirrm share/doc/fann
diff --git a/devel/fann-devel/buildlink3.mk b/devel/fann-devel/buildlink3.mk
new file mode 100644
index 00000000000..aff62eaac09
--- /dev/null
+++ b/devel/fann-devel/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/10/12 18:30:22 gdt Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FANN_BUILDLINK3_MK:= ${FANN_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= fann
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfann}
+BUILDLINK_PACKAGES+= fann
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fann
+
+.if ${FANN_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.fann+= fann>=2.1.0.20061012
+BUILDLINK_PKGSRCDIR.fann?= ../../devel/fann-devel
+.endif # FANN_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/fann-devel/distinfo b/devel/fann-devel/distinfo
new file mode 100644
index 00000000000..adc0d4c3924
--- /dev/null
+++ b/devel/fann-devel/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/10/12 18:30:22 gdt Exp $
+
+SHA1 (fann-2.1.0-20061012.tar.bz2) = 5abd888e642292716e3203d79e37f140eea28126
+RMD160 (fann-2.1.0-20061012.tar.bz2) = 632e19652e33ba836f32ab8b2b99081261e668eb
+Size (fann-2.1.0-20061012.tar.bz2) = 3573310 bytes