diff options
Diffstat (limited to 'meta-oe/recipes-extended/leveldb/leveldb_git.bb')
| -rw-r--r-- | meta-oe/recipes-extended/leveldb/leveldb_git.bb | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/meta-oe/recipes-extended/leveldb/leveldb_git.bb b/meta-oe/recipes-extended/leveldb/leveldb_git.bb index a6a3024301..d44aa14d28 100644 --- a/meta-oe/recipes-extended/leveldb/leveldb_git.bb +++ b/meta-oe/recipes-extended/leveldb/leveldb_git.bb | |||
| @@ -4,15 +4,16 @@ HOMEPAGE = "http://leveldb.googlecode.com" | |||
| 4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=92d1b128950b11ba8495b64938fc164d" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=92d1b128950b11ba8495b64938fc164d" |
| 6 | 6 | ||
| 7 | SRCREV = "803d69203a62faf50f1b77897310a3a1fcae712b" | 7 | SRCREV = "a53934a3ae1244679f812d998a4f16f2c7f309a6" |
| 8 | PV = "1.18+git${SRCPV}" | 8 | PV = "1.20+git${SRCPV}" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/google/${BPN}.git \ | 10 | SRC_URI = "git://github.com/google/${BPN}.git \ |
| 11 | file://0001-Explicitly-disable-tcmalloc.patch \ | ||
| 12 | " | 11 | " |
| 13 | 12 | ||
| 14 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
| 15 | 14 | ||
| 15 | inherit utils | ||
| 16 | |||
| 16 | do_compile() { | 17 | do_compile() { |
| 17 | # do not use oe_runmake. oe_runmake pass to make compilation arguments and override | 18 | # do not use oe_runmake. oe_runmake pass to make compilation arguments and override |
| 18 | # leveldb makefile variable CFLAGS and broke leveldb build. | 19 | # leveldb makefile variable CFLAGS and broke leveldb build. |
| @@ -20,8 +21,14 @@ do_compile() { | |||
| 20 | } | 21 | } |
| 21 | 22 | ||
| 22 | do_install() { | 23 | do_install() { |
| 23 | install -d ${D}${libdir} | 24 | install -d ${D}${libdir} ${D}${bindir} ${D}${includedir}/leveldb |
| 24 | oe_libinstall -C ${S} -so libleveldb ${D}${libdir} | 25 | oe_libinstall -C ${B}/out-shared libleveldb ${D}${libdir} |
| 25 | install -d ${D}${includedir}/leveldb | 26 | oe_libinstall -C ${S}/out-static libleveldb ${D}${libdir} |
| 27 | oe_libinstall -C ${S}/out-static libmemenv ${D}${libdir} | ||
| 28 | install -m 0755 ${B}/out-shared/db_bench ${D}${bindir} | ||
| 29 | install -m 0755 ${B}/out-static/*_test ${D}${bindir} | ||
| 26 | install -m 644 ${S}/include/leveldb/*.h ${D}${includedir}/leveldb/ | 30 | install -m 644 ${S}/include/leveldb/*.h ${D}${includedir}/leveldb/ |
| 27 | } | 31 | } |
| 32 | |||
| 33 | PACKAGES =+ "${PN}-ptest" | ||
| 34 | FILES_${PN}-ptest = "${bindir}" | ||
