mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Added luarocks-2.2.0 recipe file
This commit is contained in:
46
dev-lua/luarocks/luarocks-2.2.0.recipe
Normal file
46
dev-lua/luarocks/luarocks-2.2.0.recipe
Normal file
@@ -0,0 +1,46 @@
|
||||
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"
|
||||
SRC_URI="http://luarocks.org/releases/luarocks-2.2.0.tar.gz"
|
||||
SOURCE_DIR=$portVersionedName
|
||||
REVISION="2"
|
||||
CHECKSUM_SHA256="9b1a4ec7b103e2fb90a7ba8589d7e0c8523a3d6d54ac469b0bbc144292b9279c"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
PROVIDES="
|
||||
cmd:luarocks = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lua
|
||||
lib:liblua
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
lua_devel
|
||||
devel:liblua
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:lua
|
||||
cmd:luac
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:sed
|
||||
cmd:wget
|
||||
cmd:md5sum
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
echo "PREFIX = $prefix"
|
||||
./configure --prefix=$prefix --with-lua=/bin --with-lua-include=/system/develop/headers --with-lua-lib=/system/develop/lib
|
||||
make build
|
||||
}
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2007-2014 Kepler Project"
|
||||
Reference in New Issue
Block a user