ctre: add new recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Szostak 2025-01-02 12:01:17 +01:00 committed by Khem Raj
parent 5bd1d5ad77
commit 21ce886005
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -0,0 +1,22 @@
DESCRIPTION = "Fast compile-time regular expressions with support for matching/searching/capturing."
HOMEPAGE = "https://github.com/hanickadot/compile-time-regular-expressions"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2e982d844baa4df1c80de75470e0c5cb"
SRC_URI = "git://github.com/hanickadot/compile-time-regular-expressions.git;protocol=https;branch=main"
SRCREV = "eb9577aae3515d14e6c5564f9aeb046d2e7c1124"
S = "${WORKDIR}/git"
inherit cmake
PACKAGECONFIG ??= ""
PACKAGECONFIG[module] = "-DCTRE_MODULE=ON,-DCTRE_MODULE=OFF"
PACKAGECONFIG[tests] = "-DCTRE_BUILD_TESTS=ON,-DCTRE_BUILD_TESTS=OFF"
EXTRA_OECMAKE:append = " \
-DCTRE_BUILD_PACKAGE=OFF \
-DCTRE_BUILD_PACKAGE_DEB=OFF \
-DCTRE_BUILD_PACKAGE_RPM=OFF \
"