0
0
Fork 0
haikuports/dev-lua/luafilesystem/luafilesystem-1.6.2_git.recipe

43 lines
1.0 KiB
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/"
COPYRIGHT="2004-2012 Kepler Project"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/keplerproject/luafilesystem/archive/2fd989cd6c777583be1c93616018c55b2cbb1bcf.tar.gz"
CHECKSUM_SHA256="7e9e0b591bcceae44ed6891f9c47407be60e14abf241b485c0543bce5dc873bb"
SOURCE_DIR="luafilesystem-2fd989cd6c777583be1c93616018c55b2cbb1bcf"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
luafilesystem = $portVersion
"
REQUIRES="
haiku
lua >= 5.2
"
BUILD_REQUIRES="
lua_devel
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
cmd:make
"
BUILD()
{
make LUA_INC=$developDir LUA_LIBDIR=$libDir/lua/5.2
}
INSTALL()
{
make LUA_INC=$developDir LUA_LIBDIR=$libDir/lua/5.2 install
}