mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Fix problem with lua recipes
* The problem I had yesterday was a missing soname for the so libraries. This make packageInstalledDevelLib silently fail.
This commit is contained in:
@@ -1,20 +1,46 @@
|
||||
DESCRIPTION="Lua is a powerful, fast, light-weight, embeddable scripting language."
|
||||
SUMMARY="Lua is a powerful, fast, light-weight, embeddable scripting language."
|
||||
HOMEPAGE="http://www.lua.org"
|
||||
SRC_URI="http://www.lua.org/ftp/lua-5.2.1.tar.gz"
|
||||
SRC_URI="http://www.lua.org/ftp/lua-$portVersion.tar.gz"
|
||||
CHECKSUM_MD5="ae08f641b45d737d12d30291a5e5f6e3"
|
||||
REVISION="3"
|
||||
STATUS_HAIKU="stable"
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
PROVIDES="
|
||||
lua = $portVersion compat = 5.2
|
||||
cmd:lua = $portVersion compat = 5.2
|
||||
cmd:luac = $portVersion
|
||||
lib:liblua = $portVersion compat = 5.2
|
||||
devel:liblua = $portVersion compat = 5.2
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
PATCHES="lua-$portVersion.patchset"
|
||||
BUILD()
|
||||
{
|
||||
cd lua-5.2.1
|
||||
make haiku
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd lua-5.2.1
|
||||
make install INSTALL_TOP="${DESTDIR}`finddir B_COMMON_DIRECTORY`" \
|
||||
INSTALL_MAN="${DESTDIR}`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man"
|
||||
make install INSTALL_TOP="$prefix" INSTALL_MAN="$manDir" \
|
||||
INSTALL_INC="$includeDir" INSTALL_LMOD="$dataDir/lua/$V"
|
||||
|
||||
prepareInstalledDevelLib liblua
|
||||
}
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1994-2012, Lua.org, PUC-Rio"
|
||||
DESCRIPTION="
|
||||
Lua combines simple procedural syntax with powerful data description
|
||||
constructs based on associative arrays and extensible semantics. Lua is
|
||||
dynamically typed, runs by interpreting bytecode for a register-based
|
||||
virtual machine, and has automatic memory management with incremental
|
||||
garbage collection, making it ideal for configuration, scripting, and rapid
|
||||
prototyping.
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user