Files
haikuports/dev-lua/luarocks/luarocks-2.2.0.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

49 lines
949 B
Bash

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."
HOMEPAGE="http://luarocks.org"
LICENSE="MIT"
REVISION="3"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SOURCE_URI="http://luarocks.org/releases/luarocks-2.2.0.tar.gz"
CHECKSUM_SHA256="9b1a4ec7b103e2fb90a7ba8589d7e0c8523a3d6d54ac469b0bbc144292b9279c"
COPYRIGHT="2007-2014 Kepler Project"
SOURCE_DIR=$portVersionedName
PROVIDES="
cmd:luarocks = $portVersion
cmd:luarocks_admin = $portVersion
"
REQUIRES="
haiku
lua
lib:liblua
"
BUILD_REQUIRES="
haiku_devel
lua_devel
devel:liblua
"
BUILD_PREREQUIRES="
cmd:lua
cmd:luac
cmd:gcc
cmd:ld
cmd:make
cmd:sed
cmd:wget
cmd:md5sum
"
BUILD()
{
./configure --prefix=$prefix --with-lua=$binDir --with-lua-include=$includeDir --with-lua-lib=$libDir
make build
}
INSTALL()
{
make install
}