From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/libdb/Config.in | 15 ++++++++ package/libdb/Makefile | 80 ++++++++++++++++++++++++++++++++++++++++ package/libdb/ipkg/libdb.control | 4 ++ 3 files changed, 99 insertions(+) create mode 100644 package/libdb/Config.in create mode 100644 package/libdb/Makefile create mode 100644 package/libdb/ipkg/libdb.control (limited to 'package/libdb') diff --git a/package/libdb/Config.in b/package/libdb/Config.in new file mode 100644 index 000000000..f8360bee8 --- /dev/null +++ b/package/libdb/Config.in @@ -0,0 +1,15 @@ +config ADK_COMPILE_DB + tristate + default n + depends 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 new file mode 100644 index 000000000..01bb31039 --- /dev/null +++ b/package/libdb/Makefile @@ -0,0 +1,80 @@ +# $Id$ +#- +# 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:= libdb +PKG_VERSION:= 4.7.25 +PKG_RELEASE:= 1 +PKG_MD5SUM:= ec2b87e833779681a0c3a814aa71359e +MASTER_SITES:= http://www.oracle.com/technology/software/products/berkeley-db/ +DISTFILES:= db-${PKG_VERSION}.tar.gz +WRKDIST= ${WRKDIR}/db-${PKG_VERSION} + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBDB,libdb,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +ifeq ($(DEBUG),1) +PKG_CONFIGURE:= --enable-debug +else +PKG_CONFIGURE:= --disable-debug +endif + +do-configure: + (cd ${WRKBUILD}/build_unix ; \ + ${TARGET_CONFIGURE_OPTS} \ + CFLAGS="${TARGET_CFLAGS_ARCH} -pipe" \ + 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 \ + ${PKG_CONFIGURE} \ + ); + +do-install: + ${MAKE} -C ${WRKBUILD}/build_unix \ + DESTDIR="${WRKINST}" install + +post-install: + ${INSTALL_DIR} ${IDIR_LIBDB}/usr/lib + ${CP} ${WRKINST}/usr/lib/libdb*.so ${IDIR_LIBDB}/usr/lib/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libdb/ipkg/libdb.control b/package/libdb/ipkg/libdb.control new file mode 100644 index 000000000..28605c38f --- /dev/null +++ b/package/libdb/ipkg/libdb.control @@ -0,0 +1,4 @@ +Package: libdb +Priority: optional +Section: libs +Description: disk file format database which stores key/data-pairs in single files -- cgit v1.2.3