summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-12-29 16:35:03 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-12-29 16:35:03 +0000
commit1476bd1dcdd8090a1bd1e8e31379970b68e186ec (patch)
tree354053da920f49d131713769075f0ccd2b501692
parent3bc5deb59358640172346df469a2b6d7967d6f78 (diff)
db: change do_stage to use autotools_do_stage in db4 4.3.29
-rw-r--r--packages/db/db_4.3.29.bb14
1 files changed, 5 insertions, 9 deletions
diff --git a/packages/db/db_4.3.29.bb b/packages/db/db_4.3.29.bb
index 31b0b91367..42f6e19b80 100644
--- a/packages/db/db_4.3.29.bb
+++ b/packages/db/db_4.3.29.bb
@@ -14,7 +14,7 @@ HOMEPAGE = "http://www.sleepycat.com"
LICENSE = "BSD Sleepycat"
VIRTUAL_NAME ?= "virtual/db"
CONFLICTS = "db3"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://downloads.sleepycat.com/db-${PV}.tar.gz"
#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5"
@@ -74,14 +74,10 @@ do_configure() {
}
do_stage() {
- # The .h files get installed read-only, the autostage
- # function just uses cp -pPR, so do this by hand
- rm -rf ${STAGE_TEMP}
- mkdir -p ${STAGE_TEMP}
- oe_runmake DESTDIR="${STAGE_TEMP}" install_include
- cp -pPRf ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}/.
- rm -rf ${STAGE_TEMP}
- oe_libinstall -so -C .libs libdb-4.3 ${STAGING_LIBDIR}
+ autotools_stage_all
+ # the following is required by (at least) bogofilter
+ # configure, can be removed when all package configures
+ # do the correct search for db versions.
ln -sf libdb-4.3.so ${STAGING_LIBDIR}/libdb.so
ln -sf libdb-4.3.a ${STAGING_LIBDIR}/libdb.a
}