diff options
| author | carregal <carregal> | 2008-12-09 18:39:20 +0000 |
|---|---|---|
| committer | carregal <carregal> | 2008-12-09 18:39:20 +0000 |
| commit | b941f90d24ffc7553e3f81ea8e3d2804184ce100 (patch) | |
| tree | 1fbf246a7203adfe57535d2481cbb4edf2af2153 | |
| parent | b8acd4ca5449bc797d98a4b7b70c8b3c8c403c80 (diff) | |
| download | luafilesystem-b941f90d24ffc7553e3f81ea8e3d2804184ce100.tar.gz luafilesystem-b941f90d24ffc7553e3f81ea8e3d2804184ce100.tar.bz2 luafilesystem-b941f90d24ffc7553e3f81ea8e3d2804184ce100.zip | |
Moving to "modules" builds on the rockspecs
| -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 | } |
