mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 20:51:57 +02:00
The change to cmake changed the default to static builds (there doesn't appear to be a way to ask for both). Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 lines
857 B
BlitzBasic
21 lines
857 B
BlitzBasic
SUMMARY = "Jansson is a C library for encoding, decoding and manipulating JSON data"
|
|
HOMEPAGE = "http://www.digip.org/jansson/"
|
|
BUGTRACKER = "https://github.com/akheron/jansson/issues"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=afd92c4cfc08f4896003251b878cc0bf"
|
|
|
|
SRC_URI = "https://github.com/akheron/${BPN}/releases/download/v${PV}/${BP}.tar.bz2 \
|
|
file://0001-Fix-overwriting-linker-flags.patch \
|
|
file://0001-Honour-multilib-paths.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "fba956f27c6ae56ce6dfd52fbf9d20254aad42821f74fa52f83957625294afb9"
|
|
|
|
UPSTREAM_CHECK_URI = "https://github.com/akheron/${BPN}/releases"
|
|
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\.tar"
|
|
|
|
inherit cmake pkgconfig
|
|
|
|
EXTRA_OECMAKE = "-DJANSSON_BUILD_SHARED_LIBS=${@ 'OFF' if d.getVar('DISABLE_STATIC') == '' else 'ON' }"
|
|
|
|
BBCLASSEXTEND = "native"
|