mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-18 21:59:27 +00:00
valijson: update to 0.3
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
71dfa48c6b
commit
81edfc5e84
36
meta-oe/recipes-devtools/valijson/valijson_0.3.bb
Normal file
36
meta-oe/recipes-devtools/valijson/valijson_0.3.bb
Normal file
@ -0,0 +1,36 @@
|
||||
SUMMARY = "Header-only C++ library for JSON Schema validation"
|
||||
HOMEPAGE = "https://github.com/tristanpenman/valijson"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
|
||||
|
||||
SRC_URI = "git://github.com/tristanpenman/valijson.git"
|
||||
SRCREV = "7a52fc88cdffd6678c009ca2fad700151f7363c6"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
|
||||
|
||||
DEPENDS = "curlpp"
|
||||
|
||||
# valijson is a header only C++ library, so the main package will be empty.
|
||||
RDEPENDS_${PN}-dev = ""
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${includedir}/compat
|
||||
install -d ${D}${includedir}/valijson
|
||||
install -d ${D}${includedir}/valijson/adapters
|
||||
install -d ${D}${includedir}/valijson/constraints
|
||||
install -d ${D}${includedir}/valijson/internal
|
||||
install -d ${D}${includedir}/valijson/utils
|
||||
|
||||
install -m 0644 ${S}/include/compat/* ${D}${includedir}/compat
|
||||
install -D -m 0644 ${S}/include/valijson/*.hpp -t ${D}${includedir}/valijson
|
||||
install -D -m 0644 ${S}/include/valijson/adapters/*.hpp -t ${D}${includedir}/valijson/adapters
|
||||
install -D -m 0644 ${S}/include/valijson/constraints/*.hpp -t ${D}${includedir}/valijson/constraints
|
||||
install -D -m 0644 ${S}/include/valijson/internal/*.hpp -t ${D}${includedir}/valijson/internal
|
||||
install -D -m 0644 ${S}/include/valijson/utils/*.hpp -t ${D}${includedir}/valijson/utils
|
||||
}
|
||||
@ -1,21 +0,0 @@
|
||||
SUMMARY = "Header-only C++ library for JSON Schema validation"
|
||||
HOMEPAGE = "https://github.com/tristanpenman/valijson"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
|
||||
|
||||
SRC_URI = "git://github.com/tristanpenman/valijson.git"
|
||||
PV = "0.1+git${SRCPV}"
|
||||
|
||||
SRCREV = "c2f22fddf599d04dc33fcd7ed257c698a05345d9"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
|
||||
|
||||
# valijson is a header only C++ library, so the main package will be empty.
|
||||
RDEPENDS_${PN}-dev = ""
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user