- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
36 lines
1.3 KiB
BlitzBasic
36 lines
1.3 KiB
BlitzBasic
SUMMARY = "LevelDB is a fast key-value storage library"
|
|
DESCRIPTION = "LevelDB is a fast key-value storage library that provides an ordered mapping from string keys to string values"
|
|
HOMEPAGE = "https://github.com/google/leveldb"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=92d1b128950b11ba8495b64938fc164d"
|
|
|
|
SRC_URI = "gitsm://github.com/google/${BPN}.git;branch=main;protocol=https \
|
|
file://0001-CMakeLists.txt-fix-googletest-related-options.patch \
|
|
file://0001-Fix-printing-64-bit-integer-types.patch \
|
|
file://run-ptest \
|
|
"
|
|
|
|
SRCREV = "068d5ee1a3ac40dabd00d211d5013af44be55bea"
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake ptest
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[benchmarks] = "-DLEVELDB_BUILD_BENCHMARKS=ON,-DLEVELDB_BUILD_BENCHMARKS=OFF,sqlite"
|
|
PACKAGECONFIG[snappy] = ",,snappy"
|
|
PACKAGECONFIG[tcmalloc] = ",,gperftools"
|
|
|
|
EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON \
|
|
-DLEVELDB_BUILD_TESTS=${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'ON', 'OFF', d)}"
|
|
|
|
do_install:append() {
|
|
install -D -m 0755 ${B}/leveldbutil ${D}${bindir}/leveldbutil
|
|
}
|
|
|
|
do_install_ptest() {
|
|
install -m 0755 ${B}/*_test ${D}${PTEST_PATH}
|
|
}
|
|
|
|
# Do not try to build lib32-leveldb for mips64, but allow libn32-leveldb.
|
|
#
|
|
COMPATIBLE_HOST:mipsarcho32:pn-lib32-leveldb = "null"
|