ladybird/Ports/lua/package.sh
Javier Alvarez 4b47daaadc Ports: Make lua buildable on x86_64
Our lua Makefile patch contained hardcoded binaries from the i686
toolchain. Use the CC, AR, and RANLIB variables from .port_include.sh
instead to make it architecture independent.
2021-12-28 00:24:32 +01:00

8 lines
362 B
Bash
Executable File

#!/usr/bin/env -S bash ../.port_include.sh
port=lua
version=5.3.6
files="http://www.lua.org/ftp/lua-${version}.tar.gz lua-${version}.tar.gz fc5fd69bb8736323f026672b1b7235da613d7177e72558893a0bdcd320466d60"
auth_type=sha256
makeopts=("-j$(nproc)" "serenity" "CC=${CC}" "AR=${AR}" "RANLIB=${RANLIB}")
installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local")