Files
RedBear-OS/recipes/wip/libs/lua/lpeg/recipe.toml
T
vasilito 637da791ff fix: rename cxx → gcc13/gcc-native (resolve package name conflict)
recipes/dev/gcc13 was claiming name='cxx' — conflicted with
local/recipes/dev/gcc-native also claiming 'cxx'. Renamed to match
directory names for unique package identification by the cookbook.
2026-07-12 19:15:26 +03:00

20 lines
533 B
TOML

[package]
name = "lpeg"
version = "1.1.0"
[source]
tar = "https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz"
blake3 = "69fc6eaa1a1749937b7216e3d655cf47a7802ffe407f8f857664e999a7b7377b"
[build]
template = "custom"
dependencies = [
"luajit",
]
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
make linux CC="${CC} -I${COOKBOOK_SYSROOT}/include/luajit-2.1"
mkdir -p ${COOKBOOK_STAGE}/usr/lib/pkgconfig
cp lpeg.so ${COOKBOOK_STAGE}/usr/lib/liblpeg.so.1
ln -s "liblpeg.so.1" ${COOKBOOK_STAGE}/usr/lib/liblpeg.so
"""