Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DESCRIPTION = "A minimalistic JSON parser in C"
- SECTION = "recipes-core"
- DEPENDS = ""
- RDEPENDS_${PV}=""
- LICENSE = "MIT"
- LIC_FILES_CHKSUM = "file://LICENSE;md5=5adc94605a1f7a797a9a834adbe335e3"
- SRC_URI="git://github.com/zserge/jsmn.git \
- file://myMakefile \
- file://myjsmn.pc"
- SRCREV = "732d283ee9a2e5c34c52af0e044850576888ab09"
- inherit pkgconfig
- # Make sure our source directory (for the build) matches the directory structure in the tarball
- S = "${WORKDIR}/git"
- do_compile_prepend(){
- cp ${WORKDIR}/myMakefile ${S}/Makefile
- }
- do_install(){
- oe_runmake install DESTDIR=${D}
- }
- do_install_append(){
- install -d ${D}${libdir}/pkgconfig
- install -m 0644 ${WORKDIR}/myjsmn.pc ${D}${libdir}/pkgconfig/jsmn.pc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement