mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Addition of env variables
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
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."
|
||||
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
|
||||
@@ -14,12 +17,16 @@ PROVIDES="
|
||||
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
|
||||
@@ -30,7 +37,7 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./configure --prefix=$prefix --with-lua=/bin --with-lua-include=/system/develop/headers --with-lua-lib=/system/develop/lib
|
||||
./configure --prefix=$prefix --with-lua=$binDir --with-lua-include=$includeDir --with-lua-lib=$libDir
|
||||
make build
|
||||
}
|
||||
INSTALL()
|
||||
|
||||
Reference in New Issue
Block a user