Add lua 5.2.1.

* Straight port of the 5.1 patches
 * pkg-config support removed from lua 5.2, so remove it from dependencies and don't try to copy the pc file.
This commit is contained in:
Adrien Destugues
2012-08-12 15:29:32 +00:00
parent ded6e53f38
commit 1f246a1799
2 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
DESCRIPTION="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"
CHECKSUM_MD5="ae08f641b45d737d12d30291a5e5f6e3"
REVISION="3"
STATUS_HAIKU="stable"
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"
}
LICENSE="MIT"
COPYRIGHT="1994-2012, Lua.org, PUC-Rio"