diff options
Diffstat (limited to 'recipes-support/jsoncpp/jsoncpp16_1.6.0.bb')
-rw-r--r-- | recipes-support/jsoncpp/jsoncpp16_1.6.0.bb | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/recipes-support/jsoncpp/jsoncpp16_1.6.0.bb b/recipes-support/jsoncpp/jsoncpp16_1.6.0.bb index 8c8454d..4a0d538 100644 --- a/recipes-support/jsoncpp/jsoncpp16_1.6.0.bb +++ b/recipes-support/jsoncpp/jsoncpp16_1.6.0.bb @@ -9,25 +9,15 @@ DEPENDS = "" SRCREV="cbe7e7c9cbd39d864588c5cf2436690634562d3f" SRC_URI = " git://github.com/open-source-parsers/jsoncpp.git;protocol=git \ - file://Makefile \ + file://0001-Install-headers-to-jsoncpp-json.patch \ " -PR = "r6" +PR = "r8" S = "${WORKDIR}/git" -do_compile() { - cp ${WORKDIR}/Makefile . - oe_runmake -} +inherit cmake -do_install () { - install -d ${D}/usr/lib - install -m 0755 ${S}/libjsoncpp.so ${D}/usr/lib - install -d ${D}${includedir}/jsoncpp/json - install -m 0755 ${S}/include/json/*.h ${D}${includedir}/jsoncpp/json -} +EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DJSONCPP_WITH_TESTS=OFF" -FILES_SOLIBSDEV = "" -FILES_${PN} += "${libdir}/*.so" -FILES_{PN}-dev += "${libdir}/*.so" +BBCLASSEXTEND = "native"
\ No newline at end of file |