mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Add luafilesystem recipe
This commit is contained in:
45
dev-lua/luafilesystem/luafilesystem-1.6.2_git.recipe
Normal file
45
dev-lua/luafilesystem/luafilesystem-1.6.2_git.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user