2020-01-26 18:30:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2020/01/26 17:30:54 rillig 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
|
|
|
#
|
|
|
|
|
2013-02-27 13:38:12 +01:00
|
|
|
DISTNAME= tinycdb-0.78
|
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
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= http://www.corpit.ru/mjt/tinycdb/
|
|
|
|
|
2013-02-27 13:38:12 +01:00
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://www.corpit.ru/mjt/tinycdb.html
|
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
|
|
|
COMMENT= Create and read constant databases
|
2013-02-27 13:38:12 +01:00
|
|
|
LICENSE= public-domain
|
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
|
|
|
|
|
|
|
CONFLICTS+= cdb-[0-9]*
|
|
|
|
|
2013-02-27 13:38:12 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_LANGUAGES= c
|
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
|
|
|
|
2013-02-27 13:38:12 +01:00
|
|
|
MAKE_FILE= BSDmakefile
|
2010-09-11 10:26:04 +02:00
|
|
|
|
2013-02-27 13:38:12 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= libcdb.pc
|
2010-09-11 10:26:04 +02:00
|
|
|
|
|
|
|
INSTALLATION_DIRS+= lib/pkgconfig
|
|
|
|
|
2013-02-27 13:38:12 +01:00
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
SUBST_FILES.paths= libcdb.pc
|
|
|
|
SUBST_VARS.paths= PREFIX
|
|
|
|
SUBST_MESSAGE.paths= Configuring pkgsrc paths.
|
|
|
|
|
2010-09-11 10:26:04 +02:00
|
|
|
post-install:
|
2013-02-27 13:38:12 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libcdb.pc \
|
2010-09-11 10:26:04 +02:00
|
|
|
${DESTDIR}${PREFIX}/lib/pkgconfig
|
|
|
|
|
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"
|