2022-03-19 18:42:18 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=luajit
|
|
|
|
version=2.1.0-beta3
|
2022-05-27 18:37:30 +03:00
|
|
|
useconfigure=true
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-09-02 07:32:27 +03:00
|
|
|
"https://luajit.org/download/LuaJIT-${version}.tar.gz#1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2022-03-19 18:42:18 +03:00
|
|
|
workdir="LuaJIT-${version}"
|
|
|
|
|
2022-10-04 02:57:03 +03:00
|
|
|
if [ ${SERENITY_ARCH} = "x86_64" ]; then
|
2022-03-19 18:42:18 +03:00
|
|
|
M_FLAG=-m64
|
|
|
|
fi
|
|
|
|
|
2022-05-27 18:40:37 +03:00
|
|
|
makeopts=("CROSS=${SERENITY_ARCH}-pc-serenity-" "HOST_CC=${HOST_CC} ${M_FLAG}")
|
2022-05-27 18:37:30 +03:00
|
|
|
|
|
|
|
configure() {
|
|
|
|
printf "\x1b[31m\x1b[5mATTENTION: \x1b[0m\x1b[31m\x1b[1mIf this fails, install either libc6-dev-i386 or libc6-dev-amd64\x1b[0m\n"
|
|
|
|
}
|