add php process control support
[openadk.git] / package / db / Makefile
blob89307f68a39d05f104a8be96f8b6509492a7c43b
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= db
7 PKG_VERSION:= 5.3.21
8 PKG_RELEASE:= 2
9 PKG_HASH:= ddd92a930317df92021054c03992392db9ea5cddba43bef8920d392a82114fb8
10 PKG_DESCR:= disk file format database which stores key/data-pairs in single files
11 PKG_SECTION:= libs/db
12 PKG_DEPENDS:= libstdcxx
13 PKG_URL:= http://www.oracle.com/technology/software/products/berkeley-db
14 PKG_SITES:= http://www.openadk.org/distfiles/
15 PKG_LIBNAME:= libdb
16 PKG_OPTS:= dev
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 WRKBUILD= ${WRKSRC}/build_unix
21 include ${ADK_TOPDIR}/mk/package.mk
23 $(eval $(call PKG_template,LIBDB,libdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 CONFIGURE_PROG:= dist/configure
26 CONFIGURE_ARGS+= --enable-smallbuild \
27 --disable-debug_rop \
28 --disable-debug_wop \
29 --disable-diagnostic \
30 --disable-java \
31 --disable-cxx \
32 --enable-posixmutexes \
33 --disable-uimutexes \
34 --disable-tcl \
35 --disable-compat185 \
36 --disable-statistics \
37 --disable-replication \
38 --disable-cryptography \
39 --disable-queue
41 libdb-install:
42 ${INSTALL_DIR} ${IDIR_LIBDB}/usr/lib
43 ${CP} ${WRKINST}/usr/lib/libdb*.so* ${IDIR_LIBDB}/usr/lib
45 include ${ADK_TOPDIR}/mk/pkg-bottom.mk