Files
haikuports/dev-lua/luafilesystem/luafilesystem-1.6.2_git.recipe
2015-07-02 11:13:12 -04:00

44 lines
897 B
Bash

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/"
SOURCE_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
lua >= 5.2
"
BUILD_REQUIRES="
lua_devel
"
BUILD_PREREQUIRES="
haiku_devel
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
}