luarocks, revbump, fix build (#10632)

This commit is contained in:
Schrijvers Luc
2024-06-25 17:42:42 +02:00
committed by GitHub
parent caddf853af
commit 54b63376ad

View File

@@ -4,7 +4,7 @@ packages called rocks, which also contain version dependency information."
HOMEPAGE="https://luarocks.org"
COPYRIGHT="2007-2014 Kepler Project"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://luarocks.org/releases/luarocks-$portVersion.tar.gz"
CHECKSUM_SHA256="c3fb3d960dffb2b2fe9de7e3cb004dc4d0b34bb3d342578af84f84325c669102"
SOURCE_DIR="luarocks-$portVersion"
@@ -20,9 +20,9 @@ GLOBAL_WRITABLE_FILES="
PROVIDES="
luarocks$secondaryArchSuffix = $portVersion
cmd:luarocks$secondaryArchSuffix = $portVersion
cmd:luarocks_5.3$secondaryArchSuffix = $portVersion
cmd:luarocks_5.4$secondaryArchSuffix = $portVersion
cmd:luarocks_admin$secondaryArchSuffix = $portVersion
cmd:luarocks_admin_5.3$secondaryArchSuffix = $portVersion
cmd:luarocks_admin_5.4$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -57,5 +57,7 @@ BUILD()
INSTALL()
{
make BINDIR=$binDir LUADIR=$libDir/lua/5.3 install
make BINDIR=$binDir LUADIR=$libDir/lua/5.4 install
ln -s $binDir/luarocks $binDir/luarocks_5.4
ln -s $binDir/luarocks_admin $binDir/luarocks_admin_5.4
}