summaryrefslogtreecommitdiff
path: root/Ports/luarocks/package.sh
blob: ea3dd01ac45d1da344704f378f07dde4148847fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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")