ladybird/Ports/luarocks/package.sh
Daniel Lemos 3063aedb0c Ports: Add Lua's package manager LuaRocks
Ports: Add LuaRocks to AvailablePorts.md

Ports: Add ReadMe.md for the patches
2022-03-16 14:14:01 +00:00

13 lines
506 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=luarocks
version=3.8.0
useconfigure=true
depends=("lua" "git" "readline")
files="https://luarocks.org/releases/luarocks-${version}.tar.gz luarocks-${version}.tar.gz 56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923"
auth_type=sha256
configure() {
run ./configure --with-lua-include=${SERENITY_INSTALL_ROOT}/usr/local/include --prefix=/usr/local --with-lua-interpreter=lua
}
installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local")