Files
haikuports/dev-lua/luafilesystem/luafilesystem-1.6.2_git.recipe
2013-10-22 15:16:42 -06:00

46 lines
925 B
Plaintext

SUMMARY="a Lua library for file system operations"
DESCRIPTION="
LuaFileSystem is a Lua library developed to complement the set of
functions related to file systems offered by the standard Lua
distribution.
LuaFileSystem offers a portable way to access the underlying
directory structure and file attributes.
"
HOMEPAGE="http://keplerproject.github.io/luafilesystem/"
SRC_URI="git+https://github.com/keplerproject/luafilesystem.git#2fd989cd6c777583be1c93616018c55b2cbb1bcf"
COPYRIGHT="2004-2012 Kepler Project"
LICENSE="MIT"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
SOURCE_DIR=""
PROVIDES="
luafilesystem = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
lua >= 5.2
"
BUILD_REQUIRES="
lua_devel
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:make
cmd:gcc
"
BUILD()
{
make LUA_INC=$developDir LUA_LIBDIR=$libDir/lua/5.2
}
INSTALL()
{
make LUA_INC=$developDir LUA_LIBDIR=$libDir/lua/5.2 install
}