blob: ddee7f81be1a79631c862fdc2a67bc738ca0676a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env -S bash ../.port_include.sh
port=luajit
version=2.1.0-beta3
useconfigure=true
files="https://luajit.org/download/LuaJIT-${version}.tar.gz LuaJIT-${version}.tar.gz 1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3"
auth_type=sha256
workdir="LuaJIT-${version}"
if [ ${SERENITY_ARCH} = "i686" ]; then
M_FLAG=-m32
elif [ ${SERENITY_ARCH} = "x86_64" ]; then
M_FLAG=-m64
fi
makeopts=("CROSS=${SERENITY_ARCH}-pc-serenity-" "HOST_CC=${HOST_CC} ${M_FLAG}")
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"
}
|