glaze: add recipe

This commit is contained in:
Markus Volk 2024-12-27 17:46:16 +01:00
parent 2f872bcd09
commit 1ad658a760

View File

@ -0,0 +1,30 @@
SUMMARY = "Glaze reads and writes from object memory, simplifying interfaces and offering incredible performance"
HOMEPAGE = "https://github.com/stephenberry/glaze"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
SRC_URI = "git://github.com/stephenberry/glaze.git;protocol=https;nobranch=1"
SRCREV = "dfdb2ea5e878e8eff9f863b50728d860f663764f"
PV = "4.2.3"
S = "${WORKDIR}/git"
DEPENDS += "gcc-sanitizers"
inherit cmake
EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
do_install:append() {
install -d ${D}${datadir}/pkgconfig
cat >${D}${datadir}/pkgconfig/glaze.pc <<EOF
prefix=${prefix}
includedir=${includedir}/glaze
Name: glaze
Description: one of the fastest JSON libraries
Version: ${PV}
URL: github.com/stephenberry/glaze
EOF
}