Import ann-1.1.2 as wip/ann.

ANN is a library written in the C++ programming language to support both
exact and approximate nearest neighbor searching in spaces of various
dimensions.  It was implemented by David M. Mount of the University of
Maryland, and Sunil Arya of the Hong Kong University of Science and
Technology.  ANN (pronounced like the name ``Ann'') stands for
Approximate Nearest Neighbors.  ANN is also a testbed containing
programs and procedures for generating data sets, collecting and
analyzing statistics on the performance of nearest neighbor algorithms
and data structures, and visualizing the geometric structure of these
data structures.
This commit is contained in:
Kamel Ibn Aziz Derouiche 2011-01-17 22:02:17 +00:00 committed by Thomas Klausner
parent 63abccc2ca
commit 02736dc19e
5 changed files with 66 additions and 0 deletions

10
ann/DESCR Normal file
View file

@ -0,0 +1,10 @@
ANN is a library written in the C++ programming language to support both
exact and approximate nearest neighbor searching in spaces of various
dimensions. It was implemented by David M. Mount of the University of
Maryland, and Sunil Arya of the Hong Kong University of Science and
Technology. ANN (pronounced like the name ``Ann'') stands for
Approximate Nearest Neighbors. ANN is also a testbed containing
programs and procedures for generating data sets, collecting and
analyzing statistics on the performance of nearest neighbor algorithms
and data structures, and visualizing the geometric structure of these
data structures.

32
ann/Makefile Normal file
View file

@ -0,0 +1,32 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/01/17 22:02:17 jihbed Exp $
#
DISTNAME= ann_1.1.2
PKGNAME= ann-1.1.2
CATEGORIES= math
MASTER_SITES= http://www.cs.umd.edu/~mount/ANN/Files/1.1.2/
MAINTAINER= jihbed.research@gmail.com
HOMEPAGE= http://www.cs.umd.edu/~mount/ANN
COMMENT= Library for Approximate Nearest Neighbor Searching
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake pax
USE_LANGUAGES= c++
INSTALLATION_DIRS= bin lib share/doc/ann
ONLY_FOR_PLATFORM= NetBSD-*-* Linux-*-*
do-build:
cd ${WRKSRC} && ${GMAKE} linux-g++
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/ann2fig ${DESTDIR}${PREFIX}/bin/
${INSTALL_LIB} ${WRKSRC}/lib/libANN.a ${DESTDIR}${PREFIX}/lib/
cd ${WRKSRC}/include/ANN && pax -rw -pp . ${DESTDIR}${PREFIX}/include/ANN
${INSTALL_DATA} ${WRKSRC}/doc/ANNmanual.pdf ${DESTDIR}${PREFIX}/share/doc/ann
.include "../../mk/bsd.pkg.mk"

7
ann/PLIST Normal file
View file

@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/01/17 22:02:17 jihbed Exp $
bin/ann2fig
include/ANN/ANN.h
include/ANN/ANNperf.h
include/ANN/ANNx.h
lib/libANN.a
share/doc/ann/ANNmanual.pdf

12
ann/buildlink3.mk Normal file
View file

@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/01/17 22:02:17 jihbed Exp $
BUILDLINK_TREE+= ann
.if !defined(ANN_BUILDLINK3_MK)
ANN_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ann+= ann>=1.1.2
BUILDLINK_PKGSRCDIR.ann?= ../../wip/ann
.endif # ANN_BUILDLINK3_MK
BUILDLINK_TREE+= -ann

5
ann/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/01/17 22:02:17 jihbed Exp $
SHA1 (ann_1.1.2.tar.gz) = 27ec04d55e244380ade3706a9b71c3d631e2ff1a
RMD160 (ann_1.1.2.tar.gz) = 1b76b2f5c25c83c6d52a1a1e19e5b058ccf929d0
Size (ann_1.1.2.tar.gz) = 590517 bytes