summaryrefslogtreecommitdiff
path: root/package/libdb
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
commit5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch)
treecd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/libdb
parent401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff)
parent4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: BUGS package/autoconf/Makefile
Diffstat (limited to 'package/libdb')
-rw-r--r--package/libdb/Config.in15
-rw-r--r--package/libdb/Makefile66
2 files changed, 18 insertions, 63 deletions
diff --git a/package/libdb/Config.in b/package/libdb/Config.in
deleted file mode 100644
index 510311508..000000000
--- a/package/libdb/Config.in
+++ /dev/null
@@ -1,15 +0,0 @@
-config ADK_COMPILE_DB
- tristate
- default n
- depends on ADK_PACKAGE_LIBDB
-
-config ADK_PACKAGE_LIBDB
- prompt "libdb............................. Berkeley DB"
- tristate
- default n
- select ADK_COMPILE_DB
- help
- disk file format database which stores key/data-pairs in single files.
-
- http://www.sleepycat.com/products/db.shtml
-
diff --git a/package/libdb/Makefile b/package/libdb/Makefile
index 40cdb4763..9cb09cb85 100644
--- a/package/libdb/Makefile
+++ b/package/libdb/Makefile
@@ -14,59 +14,29 @@ PKG_SITES:= http://www.openadk.org/distfiles/
DISTFILES:= db-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/db-${PKG_VERSION}
+WRKBUILD= ${WRKSRC}/build_unix
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBDB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-do-configure:
- (cd ${WRKBUILD}/build_unix ; \
- ${TARGET_CONFIGURE_OPTS} \
- CFLAGS="${TARGET_CFLAGS}" \
- CPPFLAGS="-I${STAGING_DIR}/usr/include" \
- LDFLAGS="-L${STAGING_DIR}/usr/lib" \
- ../dist/configure \
- --target=${GNU_TARGET_NAME} \
- --host=${GNU_TARGET_NAME} \
- --build=${GNU_HOST_NAME} \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --includedir=/usr/include \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc \
- --disable-nls \
- --enable-shared \
- --enable-static \
- --enable-smallbuild \
- --disable-debug_rop \
- --disable-debug_wop \
- --disable-diagnostic \
- --disable-java \
- --disable-cxx \
- --disable-posixmutexes \
- --disable-uimutexes \
- --disable-tcl \
- --disable-rpc \
- --disable-compat185 \
- --disable-statistics \
- --disable-replication \
- --disable-cryptography \
- --disable-queue \
- --with-mutex=UNIX/fcntl \
- );
-
-do-install:
- ${MAKE} -C ${WRKBUILD}/build_unix \
- DESTDIR="${WRKINST}" install
+CONFIGURE_PROG:= dist/configure
+CONFIGURE_ARGS+= --enable-smallbuild \
+ --disable-debug_rop \
+ --disable-debug_wop \
+ --disable-diagnostic \
+ --disable-java \
+ --disable-cxx \
+ --disable-posixmutexes \
+ --disable-uimutexes \
+ --disable-tcl \
+ --disable-rpc \
+ --disable-compat185 \
+ --disable-statistics \
+ --disable-replication \
+ --disable-cryptography \
+ --disable-queue \
+ --with-mutex=UNIX/fcntl
post-install:
${INSTALL_DIR} ${IDIR_LIBDB}/usr/lib