# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= tinycdb VERSION= 0.81 KEYWORDS= databases VARIANTS= standard SDESC[standard]= Create and read constant databases HOMEPAGE= http://www.corpit.ru/mjt/tinycdb/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= http://www.corpit.ru/mjt/tinycdb/ DISTFILE[1]= tinycdb-0.81.tar.gz:main DF_INDEX= 1 SPKGS[standard]= complete primary dev man OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none USES= gmake LICENSE= PUBDOM:primary LICENSE_FILE= PUBDOM:{{WRKDIR}}/LICENSE LICENSE_AWK= PUBDOM:"^$$" LICENSE_SOURCE= PUBDOM:{{WRKSRC}}/cdb.h LICENSE_SCHEME= solo FPC_EQUIVALENT= databases/tinycdb BUILD_TARGET= static sharedlib MAKE_ARGS= CC="{{CC}}" CFLAGS="{{CFLAGS}}" prefix="{{PREFIX}}" mandir="{{MANPREFIX}}/man" INSTALL_TARGET= install install-sharedlib post-patch: ${REINPLACE_CMD} -e 's|--soname=|-soname,|' \ -e '/version-script=/ s/pt=/pt,/' \ ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cdb \ ${STAGEDIR}${PREFIX}/lib/libcdb.so.1 [FILE:847:descriptions/desc.primary] TinyCDB is 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. [FILE:98:distinfo] 469de2d445bf54880f652f4b6dc95c7cdf6f5502c35524a45b2122d70d47ebc2 31901 tinycdb-0.81.tar.gz [FILE:24:manifests/plist.primary] bin/cdb lib/libcdb.so.1 [FILE:64:manifests/plist.dev] include/cdb.h lib/ libcdb.a libcdb.so lib/pkgconfig/libcdb.pc [FILE:72:manifests/plist.man] share/man/man1/cdb.1.gz share/man/man3/cdb.3.gz share/man/man5/cdb.5.gz