openbsd-ports/databases/leveldb/Makefile
jasper 446a0d0c0f import leveldb, svn rev 48
LevelDB is a fast key-value storage library written at Google that
provides an ordered mapping from string keys to string values.

Features:
  - Keys and values are arbitrary byte arrays.
  - Data is stored sorted by key.
  - Callers can provide a custom comparison function to override
    the sort order.
  - The basic operations are Put(key,value), Get(key), Delete(key).
  - Multiple changes can be made in one atomic batch.
  - Users can create a transient snapshot to get a consistent view
    of data.
  - Forward and backward iteration is supported over the data.

ok sthen@
2011-08-19 06:44:00 +00:00

39 lines
907 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/08/19 06:44:00 jasper Exp $
COMMENT= fast and lightweight key/value database library
# svn rev 48, use a small version to allow seemless updating when the
# project releases a tarball.
DISTNAME= leveldb-0.0.48
SHARED_LIBS= leveldb 0.0
CATEGORIES= databases
HOMEPAGE= http://leveldb.googlecode.com/
# BSD3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://distfiles.nl/
WANTLIB += m stdc++
USE_GMAKE= Yes
MAKE_ENV+= CC=c++ OPT="${CXXFLAGS}" \
SONAME_MAJOR=${LIBleveldb_VERSION:R} \
SONAME_MINOR=${LIBleveldb_VERSION:E}
REGRESS_TARGET= check
DOC= ${PREFIX}/share/doc/leveldb/
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libleveldb.{a,so.${LIBleveldb_VERSION}} \
${PREFIX}/lib/
${INSTALL_DATA_DIR} ${DOC}
cd ${WRKSRC}/doc/ && tar cf - . | tar xf - -C ${DOC}
.include <bsd.port.mk>