mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
23 lines
465 B
TOML
23 lines
465 B
TOML
[source]
|
|
git = "https://luajit.org/git/luajit.git"
|
|
rev = "a4f56a459a588ae768801074b46ba0adcfb49eb1"
|
|
patches = ["redox.patch"]
|
|
[build]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
|
|
rsync -av "${COOKBOOK_SOURCE}/" ./
|
|
OS=$(echo "${TARGET}" | cut -d - -f3)
|
|
|
|
case "${OS}" in
|
|
linux) SYS=Linux;;
|
|
redox) SYS=Redox;;
|
|
esac
|
|
|
|
${COOKBOOK_MAKE} -j ${COOKBOOK_MAKE_JOBS} install \
|
|
PREFIX="${COOKBOOK_STAGE}/usr" \
|
|
TARGET_SYS="${SYS}" \
|
|
CROSS="${GNU_TARGET}-"
|
|
"""
|