diff options
Diffstat (limited to 'meta/recipes-devtools/json-c/json-c_0.17.bb')
-rw-r--r-- | meta/recipes-devtools/json-c/json-c_0.17.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/json-c/json-c_0.17.bb b/meta/recipes-devtools/json-c/json-c_0.17.bb new file mode 100644 index 0000000000..b7b596212f --- /dev/null +++ b/meta/recipes-devtools/json-c/json-c_0.17.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "C bindings for apps which will manipulate JSON data" | ||
2 | DESCRIPTION = "JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C." | ||
3 | HOMEPAGE = "https://github.com/json-c/json-c/wiki" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2" | ||
6 | |||
7 | SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \ | ||
8 | file://run-ptest \ | ||
9 | " | ||
10 | SRC_URI[sha256sum] = "7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6" | ||
11 | |||
12 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags" | ||
13 | UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+" | ||
14 | |||
15 | RPROVIDES:${PN} = "libjson" | ||
16 | |||
17 | inherit cmake ptest | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}/${PTEST_PATH}/tests | ||
21 | install ${B}/tests/test* ${D}/${PTEST_PATH}/tests | ||
22 | install ${S}/tests/*.test ${D}/${PTEST_PATH}/tests | ||
23 | install ${S}/tests/*.expected ${D}/${PTEST_PATH}/tests | ||
24 | install ${S}/tests/test-defs.sh ${D}/${PTEST_PATH}/tests | ||
25 | install ${S}/tests/*json ${D}/${PTEST_PATH}/tests | ||
26 | } | ||
27 | |||
28 | BBCLASSEXTEND = "native nativesdk" | ||