mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Merged in the lua-5.1.4-3 patch from Lua.org, and cleaned up the
directories for lua.
This commit is contained in:
21
dev-lang/lua/lua-5.1.4-3.bep
Normal file
21
dev-lang/lua/lua-5.1.4-3.bep
Normal file
@@ -0,0 +1,21 @@
|
||||
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.1.4.tar.gz"
|
||||
CHECKSUM_MD5="d0870f2de55d59c1c8419f36e8fac150"
|
||||
REVISION="3"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="pkgconfig >= 0.25"
|
||||
BUILD {
|
||||
cd lua-5.1.4
|
||||
make haiku
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd lua-5.1.4
|
||||
make install INSTALL_TOP="${DESTDIR}`finddir B_COMMON_DIRECTORY`" \
|
||||
INSTALL_MAN="${DESTDIR}`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man"
|
||||
mkdir -p ${DESTDIR}`finddir B_COMMON_LIB_DIRECTORY`/pkgconfig
|
||||
cp etc/lua.pc ${DESTDIR}`finddir B_COMMON_LIB_DIRECTORY`/pkgconfig/lua.pc
|
||||
}
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1994-2009, Lua.org, PUC-Rio"
|
||||
Reference in New Issue
Block a user