2006-01-19 05:41:09 +01:00
|
|
|
# $NetBSD: Makefile,v 1.2 2006/01/19 04:41:09 schmonz Exp $
|
Initial import of tinycdb-0.75, a very fast and simple package for
creating and reading constant data bases, a data structure introduced
by Dan J. Bernstein in his cdb package. It may be used to speed up
searches in a sequence of (key,value) pairs with very big number
of records. Example usage is indexing a big list of users - where
a search will require linear reading of a large /etc/passwd file,
and for many other tasks. It's usage/API is similar to ones found
in BerkeleyDB, gdbm and traditional *nix dbm/ndbm libraries, and
is compatible in great extent to cdb-0.75 package by Dan Bernstein.
CDB is a constant database, that is, it cannot be updated at a
runtime, only rebuilt. Rebuilding is atomic operation and is very
fast - much faster than of many other similar packages. Once created,
CDB may be queried, and a query takes very little time to complete.
2006-01-07 07:47:10 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= tinycdb_0.75
|
|
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= http://www.corpit.ru/mjt/tinycdb/
|
|
|
|
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.corpit.ru/mjt/tinycdb.html
|
|
|
|
COMMENT= Create and read constant databases
|
|
|
|
|
|
|
|
CONFLICTS+= cdb-[0-9]*
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_STAGE.paths= do-configure
|
|
|
|
SUBST_FILES.paths= Makefile
|
|
|
|
SUBST_SED.paths= -e 's|@PREFIX@|${PREFIX}|g'
|
|
|
|
SUBST_SED.paths+= -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'
|
|
|
|
SUBST_SED.paths+= -e 's|@PKGMANDIR@|${PKGMANDIR}|g'
|
2006-01-19 05:41:09 +01:00
|
|
|
SUBST_MESSAGE.paths= Configuring pkgsrc paths.
|
Initial import of tinycdb-0.75, a very fast and simple package for
creating and reading constant data bases, a data structure introduced
by Dan J. Bernstein in his cdb package. It may be used to speed up
searches in a sequence of (key,value) pairs with very big number
of records. Example usage is indexing a big list of users - where
a search will require linear reading of a large /etc/passwd file,
and for many other tasks. It's usage/API is similar to ones found
in BerkeleyDB, gdbm and traditional *nix dbm/ndbm libraries, and
is compatible in great extent to cdb-0.75 package by Dan Bernstein.
CDB is a constant database, that is, it cannot be updated at a
runtime, only rebuilt. Rebuilding is atomic operation and is very
fast - much faster than of many other similar packages. Once created,
CDB may be queried, and a query takes very little time to complete.
2006-01-07 07:47:10 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|