mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Fix issues with lua-5.2.1
Created a devel portion to the recipe Fixed lookup of directories for lua root/modules Fixed soname not being set in the lib
This commit is contained in:
@@ -21,18 +21,29 @@ BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
lua_devel = $portVersion
|
||||
devel:liblua = $portVersion compat = 5.2
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
lua == $portVersion
|
||||
"
|
||||
|
||||
PATCHES="lua-$portVersion.patchset"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make haiku
|
||||
make haiku MYCFLAGS="-DLUA_ROOT='\"$prefix/\"' -DLUA_LDIR='\"$dataDir/lua/5.2/\"'"
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install INSTALL_TOP="$prefix" INSTALL_MAN="$manDir" \
|
||||
INSTALL_INC="$includeDir" INSTALL_LMOD="$dataDir/lua/$V"
|
||||
INSTALL_INC="$includeDir" INSTALL_LMOD="$dataDir/lua/5.2"
|
||||
|
||||
prepareInstalledDevelLib liblua
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1994-2012, Lua.org, PUC-Rio"
|
||||
|
||||
Reference in New Issue
Block a user