summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/db/db_5.1.19.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/db/db_5.1.19.bb')
-rw-r--r--meta/recipes-support/db/db_5.1.19.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-support/db/db_5.1.19.bb b/meta/recipes-support/db/db_5.1.19.bb
index 919e532be1..94ce180cf9 100644
--- a/meta/recipes-support/db/db_5.1.19.bb
+++ b/meta/recipes-support/db/db_5.1.19.bb
@@ -14,11 +14,10 @@ HOMEPAGE = "http://www.oracle.com/technology/products/berkeley-db/db/index.html"
14LICENSE = "BSD Sleepycat" 14LICENSE = "BSD Sleepycat"
15VIRTUAL_NAME ?= "virtual/db" 15VIRTUAL_NAME ?= "virtual/db"
16CONFLICTS = "db3" 16CONFLICTS = "db3"
17PR = "r1" 17PR = "r2"
18 18
19SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz" 19SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz"
20#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5" 20SRC_URI += "file://arm-thumb-mutex_db5.patch;apply=no"
21SRC_URI += "file://arm-thumb-mutex_db5.patch;patch=1"
22 21
23SRC_URI[md5sum] = "76fcbfeebfcd09ba0b4d96bfdf8d884d" 22SRC_URI[md5sum] = "76fcbfeebfcd09ba0b4d96bfdf8d884d"
24SRC_URI[sha256sum] = "0194d4ca9266ba1a1c0bfbc233b18bfd05f63163453c81ebcdfdc7112d5ac850" 23SRC_URI[sha256sum] = "0194d4ca9266ba1a1c0bfbc233b18bfd05f63163453c81ebcdfdc7112d5ac850"
@@ -80,6 +79,10 @@ do_configure() {
80 oe_runconf 79 oe_runconf
81} 80}
82 81
82do_patch_append() {
83 os.system("cd ${S}/.. ; patch -p1 -i ${WORKDIR}/arm-thumb-mutex_db5.patch")
84}
85
83do_install_append() { 86do_install_append() {
84 mkdir -p ${D}/${includedir}/db51 87 mkdir -p ${D}/${includedir}/db51
85 #mv ${D}/${includedir}/db_185.h ${D}/${includedir}/db51/. 88 #mv ${D}/${includedir}/db_185.h ${D}/${includedir}/db51/.