mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-25 05:03:07 +00:00
Moving to "modules" builds on the rockspecs
This commit is contained in:
26
rockspecs/luafilesystem-1.4.2-1.rockspec
Normal file
26
rockspecs/luafilesystem-1.4.2-1.rockspec
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
package = "LuaFileSystem"
|
||||||
|
|
||||||
|
version = "1.4.2-1"
|
||||||
|
|
||||||
|
source = {
|
||||||
|
url = "http://luaforge.net/frs/download.php/3345/luafilesystem-1.4.1.tar.gz",
|
||||||
|
}
|
||||||
|
|
||||||
|
description = {
|
||||||
|
summary = "File System Library for the Lua Programming Language",
|
||||||
|
detailed = [[
|
||||||
|
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.
|
||||||
|
]]
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies = {
|
||||||
|
"lua >= 5.1"
|
||||||
|
}
|
||||||
|
|
||||||
|
build = {
|
||||||
|
type = "module",
|
||||||
|
modules = { lfs = "src/lfs.c" }
|
||||||
|
}
|
||||||
@@ -1,9 +1,12 @@
|
|||||||
package = "LuaFileSystem"
|
package = "LuaFileSystem"
|
||||||
|
|
||||||
version = "cvs-2"
|
version = "cvs-2"
|
||||||
|
|
||||||
source = {
|
source = {
|
||||||
url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luafilesystem",
|
url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luafilesystem",
|
||||||
cvs_tag = "HEAD"
|
cvs_tag = "HEAD"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = {
|
description = {
|
||||||
summary = "File System Library for the Lua Programming Language",
|
summary = "File System Library for the Lua Programming Language",
|
||||||
detailed = [[
|
detailed = [[
|
||||||
@@ -13,32 +16,12 @@ description = {
|
|||||||
underlying directory structure and file attributes.
|
underlying directory structure and file attributes.
|
||||||
]]
|
]]
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"lua >= 5.1"
|
"lua >= 5.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
build = {
|
build = {
|
||||||
platforms = {
|
type = "module",
|
||||||
unix = {
|
modules = { lfs = "src/lfs.c" }
|
||||||
type = "make",
|
|
||||||
build_variables = {
|
|
||||||
LIB_OPTION = "$(LIBFLAG)",
|
|
||||||
CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) $(STAT64)",
|
|
||||||
},
|
|
||||||
install_variables = {
|
|
||||||
LUA_LIBDIR = "$(LIBDIR)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
win32 = {
|
|
||||||
type = "make",
|
|
||||||
build_variables = {
|
|
||||||
LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib",
|
|
||||||
CFLAGS = "/MD $(CFLAGS) /I$(LUA_INCDIR)",
|
|
||||||
},
|
|
||||||
install_variables = {
|
|
||||||
LUA_LIBDIR = "$(LIBDIR)",
|
|
||||||
LUA_DIR = "$(LUADIR)",
|
|
||||||
BIN_DIR = "$(BINDIR)"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user