diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.2_git.recipe b/dev-lua/luafilesystem/luafilesystem-1.6.2_git.recipe new file mode 100644 index 000000000..8e06ec0f7 --- /dev/null +++ b/dev-lua/luafilesystem/luafilesystem-1.6.2_git.recipe @@ -0,0 +1,45 @@ +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 +}