diff options
| author | Mark Hatle <mark.hatle@windriver.com> | 2012-06-11 13:18:52 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-12 11:10:35 +0100 |
| commit | b2381b63b94604fdc0e1a7591c854dc1df3ca8f4 (patch) | |
| tree | 27dcac6f2750215e7395868fdd84aedadebc4e0b /meta/recipes-support/db/db_5.1.19.bb | |
| parent | 99822cd4a01342565f803678baba49d74192b7d1 (diff) | |
| download | poky-b2381b63b94604fdc0e1a7591c854dc1df3ca8f4.tar.gz | |
rpm: Upgrade RPM to 5.4.8 (db to 5.3.15)
RPM 5.4.8 requires db 5.3.x, so both are upgraded together.
(From OE-Core rev: c5898ef3fc3820ff9c44bc5b1b16e5def64aa877)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/db/db_5.1.19.bb')
| -rw-r--r-- | meta/recipes-support/db/db_5.1.19.bb | 108 |
1 files changed, 0 insertions, 108 deletions
diff --git a/meta/recipes-support/db/db_5.1.19.bb b/meta/recipes-support/db/db_5.1.19.bb deleted file mode 100644 index 7e84646689..0000000000 --- a/meta/recipes-support/db/db_5.1.19.bb +++ /dev/null | |||
| @@ -1,108 +0,0 @@ | |||
| 1 | # Version 5 of the Berkeley DB from Sleepycat | ||
| 2 | # | ||
| 3 | # At present this package only installs the DB code | ||
| 4 | # itself (shared libraries, .a in the dev package), | ||
| 5 | # documentation and headers. | ||
| 6 | # | ||
| 7 | # The headers have the same names as those as v3 | ||
| 8 | # of the DB, only one version can be used *for dev* | ||
| 9 | # at once - DB3 and DB5 can both be installed on the | ||
| 10 | # same system at the same time if really necessary. | ||
| 11 | SECTION = "libs" | ||
| 12 | DESCRIPTION = "Berkeley DB v5." | ||
| 13 | HOMEPAGE = "http://www.oracle.com/technology/products/berkeley-db/db/index.html" | ||
| 14 | LICENSE = "Sleepycat" | ||
| 15 | VIRTUAL_NAME ?= "virtual/db" | ||
| 16 | CONFLICTS = "db3" | ||
| 17 | PR = "r4" | ||
| 18 | |||
| 19 | SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz" | ||
| 20 | SRC_URI += "file://arm-thumb-mutex_db5.patch;patchdir=.." | ||
| 21 | |||
| 22 | SRC_URI[md5sum] = "76fcbfeebfcd09ba0b4d96bfdf8d884d" | ||
| 23 | SRC_URI[sha256sum] = "0194d4ca9266ba1a1c0bfbc233b18bfd05f63163453c81ebcdfdc7112d5ac850" | ||
| 24 | |||
| 25 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=86f9294f39f38ef9e89690bcd2320e7a" | ||
| 26 | |||
| 27 | inherit autotools | ||
| 28 | |||
| 29 | # Put virtual/db in any appropriate provider of a | ||
| 30 | # relational database, use it as a dependency in | ||
| 31 | # place of a specific db and use: | ||
| 32 | # | ||
| 33 | # PREFERRED_PROVIDER_virtual/db | ||
| 34 | # | ||
| 35 | # to select the correct db in the build (distro) .conf | ||
| 36 | PROVIDES += "${VIRTUAL_NAME}" | ||
| 37 | |||
| 38 | # bitbake isn't quite clever enough to deal with sleepycat, | ||
| 39 | # the distribution sits in the expected directory, but all | ||
| 40 | # the builds must occur from a sub-directory. The following | ||
| 41 | # persuades bitbake to go to the right place | ||
| 42 | S = "${WORKDIR}/db-${PV}/dist" | ||
| 43 | B = "${WORKDIR}/db-${PV}/build_unix" | ||
| 44 | |||
| 45 | # The executables go in a separate package - typically there | ||
| 46 | # is no need to install these unless doing real database | ||
| 47 | # management on the system. | ||
| 48 | PACKAGES += " ${PN}-bin" | ||
| 49 | |||
| 50 | # Package contents | ||
| 51 | FILES_${PN} = "${libdir}/libdb-5*so*" | ||
| 52 | FILES_${PN}-bin = "${bindir}/*" | ||
| 53 | # The dev package has the .so link (as in db3) and the .a's - | ||
| 54 | # it is therefore incompatible (cannot be installed at the | ||
| 55 | # same time) as the db3 package, allow the default packaging | ||
| 56 | # to sort out ${libdir} | ||
| 57 | |||
| 58 | #configuration - set in local.conf to override | ||
| 59 | # All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix) | ||
| 60 | DB5_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-statistics --disable-verify --disable-compat185 --disable-sql" | ||
| 61 | |||
| 62 | EXTRA_OECONF = "${DB5_CONFIG}" | ||
| 63 | |||
| 64 | # Override the MUTEX setting here, the POSIX library is | ||
| 65 | # the default - "POSIX/pthreads/library". | ||
| 66 | # Don't ignore the nice SWP instruction on the ARM: | ||
| 67 | # These enable the ARM assembler mutex code, this won't | ||
| 68 | # work with thumb compilation... | ||
| 69 | ARM_MUTEX = "--with-mutex=ARM/gcc-assembly" | ||
| 70 | MUTEX = "" | ||
| 71 | MUTEX_arm = "${ARM_MUTEX}" | ||
| 72 | MUTEX_armeb = "${ARM_MUTEX}" | ||
| 73 | EXTRA_OECONF += "${MUTEX}" | ||
| 74 | |||
| 75 | # Cancel the site stuff - it's set for db3 and destroys the | ||
| 76 | # configure. | ||
| 77 | CONFIG_SITE = "" | ||
| 78 | do_configure() { | ||
| 79 | export STRIP="true" | ||
| 80 | oe_runconf | ||
| 81 | } | ||
| 82 | |||
| 83 | do_install_append() { | ||
| 84 | mkdir -p ${D}/${includedir}/db51 | ||
| 85 | #mv ${D}/${includedir}/db_185.h ${D}/${includedir}/db51/. | ||
| 86 | mv ${D}/${includedir}/db.h ${D}/${includedir}/db51/. | ||
| 87 | mv ${D}/${includedir}/db_cxx.h ${D}/${includedir}/db51/. | ||
| 88 | #mv ${D}/${includedir}/dbsql.h ${D}/${includedir}/db51/. | ||
| 89 | #ln -s db51/db_185.h ${D}/${includedir}/db_185.h | ||
| 90 | ln -s db51/db.h ${D}/${includedir}/db.h | ||
| 91 | ln -s db51/db_cxx.h ${D}/${includedir}/db_cxx.h | ||
| 92 | #ln -s db51/dbsql.h ${D}/${includedir}/dbsql.h | ||
| 93 | |||
| 94 | # The docs end up in /usr/docs - not right. | ||
| 95 | if test -d "${D}/${prefix}/docs" | ||
| 96 | then | ||
| 97 | mkdir -p "${D}/${datadir}" | ||
| 98 | test ! -d "${D}/${docdir}" || rm -rf "${D}/${docdir}" | ||
| 99 | mv "${D}/${prefix}/docs" "${D}/${docdir}" | ||
| 100 | fi | ||
| 101 | |||
| 102 | chown -R root:root ${D} | ||
| 103 | } | ||
| 104 | |||
| 105 | INSANE_SKIP_${PN} = "dev-so" | ||
| 106 | |||
| 107 | BBCLASSEXTEND = "native nativesdk" | ||
| 108 | |||
