summaryrefslogtreecommitdiff
path: root/recipes-support/jsoncpp/jsoncpp_1.6.0.bb
blob: 8c8454dc9d1b16a11c9b943ffc0edeae1b8cbe76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
DESCRIPTION = "Json C++ Library"
HOMEPAGE = "https://github.com/open-source-parsers/jsoncpp"
# Public Domain
LICENSE = "PD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c56ee55c03a55f8105b969d8270632ce"
DEPENDS = ""

#tag 1.6.0
SRCREV="cbe7e7c9cbd39d864588c5cf2436690634562d3f"

SRC_URI = " git://github.com/open-source-parsers/jsoncpp.git;protocol=git \
            file://Makefile \
          "

PR = "r6"

S = "${WORKDIR}/git"

do_compile() {
	cp ${WORKDIR}/Makefile .
	oe_runmake
}

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
}

FILES_SOLIBSDEV = ""
FILES_${PN} += "${libdir}/*.so"
FILES_{PN}-dev += "${libdir}/*.so"