mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-05 04:06:38 +08:00
23 lines
457 B
TOML
23 lines
457 B
TOML
#TODO compile and test
|
|
[source]
|
|
git = "https://github.com/janet-lang/janet"
|
|
rev = "v1.42.1"
|
|
shallow_clone = true
|
|
[build]
|
|
template = "custom"
|
|
mesonflags = [
|
|
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
COOKBOOK_MESON_FLAGS+=(
|
|
#-Dassembler=false # needed by bytecode compiler?
|
|
-Dnet=false
|
|
-Dipv6=false
|
|
-Dkqueue=false
|
|
)
|
|
cookbook_meson
|
|
mkdir -pv "${COOKBOOK_STAGE}/usr/share/janet"
|
|
cp -rv "${COOKBOOK_SOURCE}"/examples/* "${COOKBOOK_STAGE}/usr/share/janet"
|
|
"""
|