summaryrefslogtreecommitdiff
path: root/package/libdb
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/libdb
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/libdb')
-rw-r--r--package/libdb/Makefile17
-rw-r--r--package/libdb/ipkg/libdb.control4
2 files changed, 7 insertions, 14 deletions
diff --git a/package/libdb/Makefile b/package/libdb/Makefile
index 5b812c1f8..782e913d6 100644
--- a/package/libdb/Makefile
+++ b/package/libdb/Makefile
@@ -9,24 +9,22 @@ 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/
+PKG_DESCR:= disk file format database which stores key/data-pairs in single files
+PKG_SECTION:= libs
+PKG_URL:= http://www.oracle.com/technology/software/products/berkeley-db
+PKG_SITES:= http://www.openadk.org/distfiles/
+
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}))
-
-ifeq ($(DEBUG),1)
-PKG_CONFIGURE:= --enable-debug
-else
-PKG_CONFIGURE:= --disable-debug
-endif
+$(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_ARCH} -pipe" \
+ CFLAGS="${TARGET_CFLAGS}" \
CPPFLAGS="-I${STAGING_DIR}/usr/include" \
LDFLAGS="-L${STAGING_DIR}/usr/lib" \
../dist/configure \
@@ -66,7 +64,6 @@ do-configure:
--disable-cryptography \
--disable-queue \
--with-mutex=UNIX/fcntl \
- ${PKG_CONFIGURE} \
);
do-install:
diff --git a/package/libdb/ipkg/libdb.control b/package/libdb/ipkg/libdb.control
deleted file mode 100644
index 28605c38f..000000000
--- a/package/libdb/ipkg/libdb.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: libdb
-Priority: optional
-Section: libs
-Description: disk file format database which stores key/data-pairs in single files