summaryrefslogtreecommitdiff
path: root/packages/db
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-20 08:38:05 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-20 08:38:05 +0000
commit5ce940c025afaf965d8ffd1dbf08d23378963318 (patch)
treecb22093f1191be303c235b247c27569000ee7ab2 /packages/db
parenta0e2d9d479491353d0bbd7ed7a1a862bd63b3dfd (diff)
db: sync with poky
Diffstat (limited to 'packages/db')
-rw-r--r--packages/db/db-native_4.2.52.bb14
-rw-r--r--packages/db/db_4.2.52.bb2
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/db/db-native_4.2.52.bb b/packages/db/db-native_4.2.52.bb
index 12a875ff13..567ddffb75 100644
--- a/packages/db/db-native_4.2.52.bb
+++ b/packages/db/db-native_4.2.52.bb
@@ -11,3 +11,17 @@ inherit native
require db_${PV}.bb
PACKAGES = ""
+
+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.2 ${STAGING_LIBDIR}
+ ln -sf libdb-4.2.so ${STAGING_LIBDIR}/libdb.so
+ ln -sf libdb-4.2.a ${STAGING_LIBDIR}/libdb.a
+}
+
diff --git a/packages/db/db_4.2.52.bb b/packages/db/db_4.2.52.bb
index a0c394f7a4..94d875e2cd 100644
--- a/packages/db/db_4.2.52.bb
+++ b/packages/db/db_4.2.52.bb
@@ -14,7 +14,7 @@ HOMEPAGE = "http://www.sleepycat.com"
LICENSE = "BSD Sleepycat"
VIRTUAL_NAME ?= "virtual/db"
CONFLICTS = "db3"
-PR = "r6"
+PR = "r7"
SRC_URI = "http://downloads.sleepycat.com/db-${PV}.tar.gz"
#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5"