diff options
-rw-r--r-- | rockspecs/luafilesystem-1.4.2-1.rockspec | 26 | ||||
-rw-r--r-- | rockspecs/luafilesystem-cvs-2.rockspec | 31 |
2 files changed, 33 insertions, 24 deletions
diff --git a/rockspecs/luafilesystem-1.4.2-1.rockspec b/rockspecs/luafilesystem-1.4.2-1.rockspec new file mode 100644 index 0000000..01b7c6f --- /dev/null +++ b/rockspecs/luafilesystem-1.4.2-1.rockspec | |||
@@ -0,0 +1,26 @@ | |||
1 | package = "LuaFileSystem" | ||
2 | |||
3 | version = "1.4.2-1" | ||
4 | |||
5 | source = { | ||
6 | url = "http://luaforge.net/frs/download.php/3345/luafilesystem-1.4.1.tar.gz", | ||
7 | } | ||
8 | |||
9 | description = { | ||
10 | summary = "File System Library for the Lua Programming Language", | ||
11 | detailed = [[ | ||
12 | LuaFileSystem is a Lua library developed to complement the set of | ||
13 | functions related to file systems offered by the standard Lua | ||
14 | distribution. LuaFileSystem offers a portable way to access the | ||
15 | underlying directory structure and file attributes. | ||
16 | ]] | ||
17 | } | ||
18 | |||
19 | dependencies = { | ||
20 | "lua >= 5.1" | ||
21 | } | ||
22 | |||
23 | build = { | ||
24 | type = "module", | ||
25 | modules = { lfs = "src/lfs.c" } | ||
26 | } \ No newline at end of file | ||
diff --git a/rockspecs/luafilesystem-cvs-2.rockspec b/rockspecs/luafilesystem-cvs-2.rockspec index 1320390..28f367b 100644 --- a/rockspecs/luafilesystem-cvs-2.rockspec +++ b/rockspecs/luafilesystem-cvs-2.rockspec | |||
@@ -1,9 +1,12 @@ | |||
1 | package = "LuaFileSystem" | 1 | package = "LuaFileSystem" |
2 | |||
2 | version = "cvs-2" | 3 | version = "cvs-2" |
4 | |||
3 | source = { | 5 | source = { |
4 | url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luafilesystem", | 6 | url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luafilesystem", |
5 | cvs_tag = "HEAD" | 7 | cvs_tag = "HEAD" |
6 | } | 8 | } |
9 | |||
7 | description = { | 10 | description = { |
8 | summary = "File System Library for the Lua Programming Language", | 11 | summary = "File System Library for the Lua Programming Language", |
9 | detailed = [[ | 12 | detailed = [[ |
@@ -13,32 +16,12 @@ description = { | |||
13 | underlying directory structure and file attributes. | 16 | underlying directory structure and file attributes. |
14 | ]] | 17 | ]] |
15 | } | 18 | } |
19 | |||
16 | dependencies = { | 20 | dependencies = { |
17 | "lua >= 5.1" | 21 | "lua >= 5.1" |
18 | } | 22 | } |
23 | |||
19 | build = { | 24 | build = { |
20 | platforms = { | 25 | type = "module", |
21 | unix = { | 26 | modules = { lfs = "src/lfs.c" } |
22 | type = "make", | ||
23 | build_variables = { | ||
24 | LIB_OPTION = "$(LIBFLAG)", | ||
25 | CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR) $(STAT64)", | ||
26 | }, | ||
27 | install_variables = { | ||
28 | LUA_LIBDIR = "$(LIBDIR)" | ||
29 | } | ||
30 | }, | ||
31 | win32 = { | ||
32 | type = "make", | ||
33 | build_variables = { | ||
34 | LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib", | ||
35 | CFLAGS = "/MD $(CFLAGS) /I$(LUA_INCDIR)", | ||
36 | }, | ||
37 | install_variables = { | ||
38 | LUA_LIBDIR = "$(LIBDIR)", | ||
39 | LUA_DIR = "$(LUADIR)", | ||
40 | BIN_DIR = "$(BINDIR)" | ||
41 | } | ||
42 | } | ||
43 | } | ||
44 | } | 27 | } |