1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# 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.15
PKG_RELEASE:= 1
PKG_MD5SUM:= d40e3e4b9a76a23d1db225465aa8bae0
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_SUBPKGS:= LIBDB LIBDB_DEV
PKGSC_LIBDB_DEV:= devel
PKGSD_LIBDB_DEV:= libdb headers
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}))
$(eval $(call PKG_template,LIBDB_DEV,libdb-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBDB_DEV},${PKGSC_LIBDB_DEV}))
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
libdb-dev-install:
${INSTALL_DIR} ${IDIR_LIBDB_DEV}/usr/include
${CP} ${WRKINST}/usr/include/* ${IDIR_LIBDB_DEV}/usr/include
include ${TOPDIR}/mk/pkg-bottom.mk
|