0
0
Fork 0
haikuports/dev-lua/luarocks/luarocks-2.2.0.recipe

51 lines
963 B
Bash
Raw Permalink Normal View History

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"
LICENSE="MIT"
2018-09-21 09:03:49 +00:00
REVISION="5"
SOURCE_URI="https://luarocks.org/releases/luarocks-2.2.0.tar.gz"
CHECKSUM_SHA256="9b1a4ec7b103e2fb90a7ba8589d7e0c8523a3d6d54ac469b0bbc144292b9279c"
2018-08-06 13:04:59 +00:00
SOURCE_DIR="$portVersionedName"
ARCHITECTURES="all"
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="
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-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
}