2015-07-21 17:41:22 +00:00
|
|
|
SUMMARY="A deployment and management system for Lua modules"
|
|
|
|
DESCRIPTION="LuaRocks allows you to install modules as self-contained \
|
|
|
|
packages called rocks, which also contain version dependency information."
|
2018-09-21 09:03:49 +00:00
|
|
|
HOMEPAGE="https://luarocks.org"
|
2018-08-06 13:04:59 +00:00
|
|
|
COPYRIGHT="2007-2014 Kepler Project"
|
2015-07-21 17:41:22 +00:00
|
|
|
LICENSE="MIT"
|
2018-09-21 09:03:49 +00:00
|
|
|
REVISION="5"
|
|
|
|
SOURCE_URI="https://luarocks.org/releases/luarocks-2.2.0.tar.gz"
|
2015-07-21 17:41:22 +00:00
|
|
|
CHECKSUM_SHA256="9b1a4ec7b103e2fb90a7ba8589d7e0c8523a3d6d54ac469b0bbc144292b9279c"
|
2018-08-06 13:04:59 +00:00
|
|
|
SOURCE_DIR="$portVersionedName"
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all"
|
2015-07-21 17:41:22 +00:00
|
|
|
|
2015-01-03 23:57:06 +00:00
|
|
|
PROVIDES="
|
2018-08-06 14:51:23 +00:00
|
|
|
luarocks = $portVersion
|
2015-01-03 23:57:06 +00:00
|
|
|
cmd:luarocks = $portVersion
|
2015-01-04 00:51:52 +00:00
|
|
|
cmd:luarocks_admin = $portVersion
|
2015-01-03 23:57:06 +00:00
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku
|
|
|
|
lua
|
2015-01-04 04:17:50 +00:00
|
|
|
lib:liblua
|
2015-01-03 23:57:06 +00:00
|
|
|
"
|
2018-08-06 13:04:59 +00:00
|
|
|
|
2015-01-03 23:57:06 +00:00
|
|
|
BUILD_REQUIRES="
|
2015-07-21 17:41:22 +00:00
|
|
|
haiku_devel
|
2015-01-03 23:57:06 +00:00
|
|
|
lua_devel
|
2015-01-04 04:17:50 +00:00
|
|
|
devel:liblua
|
2015-01-03 23:57:06 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
cmd:gcc
|
|
|
|
cmd:ld
|
2018-08-08 14:18:18 +00:00
|
|
|
cmd:lua
|
|
|
|
cmd:luac
|
2015-01-03 23:57:06 +00:00
|
|
|
cmd:make
|
2018-08-08 14:18:18 +00:00
|
|
|
cmd:md5sum
|
2015-01-03 23:57:06 +00:00
|
|
|
cmd:sed
|
|
|
|
cmd:wget
|
|
|
|
"
|
2015-08-04 16:08:31 +00:00
|
|
|
|
2015-01-03 23:57:06 +00:00
|
|
|
BUILD()
|
|
|
|
{
|
2015-01-04 04:17:50 +00:00
|
|
|
./configure --prefix=$prefix --with-lua=$binDir --with-lua-include=$includeDir --with-lua-lib=$libDir
|
2015-01-03 23:57:06 +00:00
|
|
|
make build
|
|
|
|
}
|
2018-08-06 13:04:59 +00:00
|
|
|
|
2015-01-03 23:57:06 +00:00
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
make install
|
|
|
|
}
|