From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: 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 --- package/libdb/Makefile | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'package/libdb/Makefile') 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: -- cgit v1.2.3