blob: 80f3f7061da107d426324525c4e1d10d32a5bf5a (
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
34
|
DESCRIPTION = "Json C++ Library"
HOMEPAGE = "https://github.com/open-source-parsers/jsoncpp"
# Public Domain
LICENSE = "PD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c56ee55c03a55f8105b969d8270632ce"
DEPENDS = ""
BBCLASSEXTEND = "native"
# static lib only, require staticdev
RDEPENDS_${PN}-dev = "${PN}-staticdev"
#tag 1.6.0
SRCREV="cbe7e7c9cbd39d864588c5cf2436690634562d3f"
SRC_URI = " git://github.com/open-source-parsers/jsoncpp.git;protocol=git \
file://Makefile \
"
PR = "r1"
S = "${WORKDIR}/git"
do_compile() {
cp ${WORKDIR}/Makefile .
oe_runmake
}
do_install() {
oe_runmake install DESTDIR=${D}
}
# this recipe provides dev packages only (static lib)
PACKAGES = "${PN}-dev ${PN}-staticdev ${PN}-dbg"
|