diff options
-rw-r--r-- | devel/cmph/DESCR | 20 | ||||
-rw-r--r-- | devel/cmph/Makefile | 17 | ||||
-rw-r--r-- | devel/cmph/PLIST | 9 | ||||
-rw-r--r-- | devel/cmph/distinfo | 5 |
4 files changed, 51 insertions, 0 deletions
diff --git a/devel/cmph/DESCR b/devel/cmph/DESCR new file mode 100644 index 00000000000..b6d7ad53c68 --- /dev/null +++ b/devel/cmph/DESCR @@ -0,0 +1,20 @@ +The CMPH Library encapsulates the newest and more efficient algorithms in an +easy-to-use, production-quality, fast API. The library was designed to work +with big entries that cannot fit in the main memory. It has been used +successfully for constructing minimal perfect hash functions for sets with +more than 100 million of keys, and we intend to expand this number to the +order of billion of keys. Although there is a lack of similar libraries, we +can point out some of the distinguishable features of the CMPH Library: + + - Fast. + - Space-efficient with main memory usage carefully documented. + - The best modern algorithms are available (or at least scheduled for + implementation :-)). + - Works with in-disk key sets through of using the adapter pattern. + - Serialization of hash functions. + - Portable C code (currently works on GNU/Linux and WIN32 and is reported + to work in OpenBSD and Solaris). + - Object oriented implementation. + - Easily extensible. + - Well encapsulated API aiming binary compatibility through releases. + - Free Software. diff --git a/devel/cmph/Makefile b/devel/cmph/Makefile new file mode 100644 index 00000000000..735ab230e2c --- /dev/null +++ b/devel/cmph/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2011/04/28 20:45:48 alnsn Exp $ + +DISTNAME= cmph-1.0 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cmph/} + +MAINTAINER= alnsn@NetBSD.org +HOMEPAGE= http://cmph.sourceforge.net/ +COMMENT= C Minimal Perfect Hashing Library +LICENSE= gnu-lgpl-v2 OR mpl-1.1 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/cmph/PLIST b/devel/cmph/PLIST new file mode 100644 index 00000000000..c78dcb0e4c3 --- /dev/null +++ b/devel/cmph/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1 2011/04/28 20:45:48 alnsn Exp $ +bin/cmph +include/chd_ph.h +include/cmph.h +include/cmph_time.h +include/cmph_types.h +lib/libcmph.la +lib/pkgconfig/cmph.pc +man/man1/cmph.1 diff --git a/devel/cmph/distinfo b/devel/cmph/distinfo new file mode 100644 index 00000000000..4f68b832d42 --- /dev/null +++ b/devel/cmph/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2011/04/28 20:45:48 alnsn Exp $ + +SHA1 (cmph-1.0.tar.gz) = d92755f95dae90c5bcc5251f4b926693a8d6c9f1 +RMD160 (cmph-1.0.tar.gz) = d8e4a8ef43b889c161ee99f42182021ef6098ca8 +Size (cmph-1.0.tar.gz) = 382668 bytes |