M7350/oe-core/meta-tp/recipes/libcjson/libcjson.bb

27 lines
704 B
BlitzBasic
Raw Normal View History

2024-09-09 08:57:42 +00:00
DESCRIPTION = "cjson lib"
HOMEPAGE = "http://sourceforge.net/projects/cjson/"
LICENSE = "MIT"
SRC_URI = "https://github.com/forkjoseph/android_external_libcjson/archive/cjson_1.0.tar.gz \
file://add_compile_file.patch"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
S="${WORKDIR}/"
do_compile() {
cd ${S}
oe_runmake
}
do_install () {
install -d ${D}${includedir}/cjson
install -m 0644 *.h ${D}${includedir}/cjson
install -d ${D}${libdir}
install -m 0644 libcjson.so ${D}${libdir}/
}
FILES_${PN} += "${libdir}/lib*.so"
#Disable the split of debug information into -dbg files
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
PACKAGES = "${PN}"