12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= db
- PKG_VERSION:= 5.3.21
- PKG_RELEASE:= 2
- PKG_MD5SUM:= 3fda0b004acdaa6fa350bfc41a3b95ca
- PKG_DESCR:= disk file format database which stores key/data-pairs in single files
- PKG_SECTION:= db
- PKG_URL:= http://www.oracle.com/technology/software/products/berkeley-db
- PKG_SITES:= http://www.openadk.org/distfiles/
- PKG_NEED_CXX:= 1
- PKG_LIBNAME:= libdb
- PKG_OPTS:= dev
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
- WRKBUILD= ${WRKSRC}/build_unix
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,LIBDB,libdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
- CONFIGURE_PROG:= dist/configure
- CONFIGURE_ARGS+= --enable-smallbuild \
- --disable-debug_rop \
- --disable-debug_wop \
- --disable-diagnostic \
- --disable-java \
- --disable-cxx \
- --enable-posixmutexes \
- --disable-uimutexes \
- --disable-tcl \
- --disable-compat185 \
- --disable-statistics \
- --disable-replication \
- --disable-cryptography \
- --disable-queue
- libdb-install:
- ${INSTALL_DIR} ${IDIR_LIBDB}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libdb*.so* ${IDIR_LIBDB}/usr/lib
- include ${TOPDIR}/mk/pkg-bottom.mk
|