diff options
| author | carregal <carregal> | 2008-02-18 18:17:05 +0000 |
|---|---|---|
| committer | carregal <carregal> | 2008-02-18 18:17:05 +0000 |
| commit | 0233beea3008f567557ef7adfe46722f2d6546e0 (patch) | |
| tree | ec8d6c59058fb5267fa57412d9fedf9f748f023e | |
| parent | f1e4fd1bf4339038be1b7f410a7c63740b9d5c64 (diff) | |
| download | luafilesystem-0233beea3008f567557ef7adfe46722f2d6546e0.tar.gz luafilesystem-0233beea3008f567557ef7adfe46722f2d6546e0.tar.bz2 luafilesystem-0233beea3008f567557ef7adfe46722f2d6546e0.zip | |
New rockspec for lfs 1.4.0, this time including Windows rules
| -rw-r--r-- | rockspecs/luafilesystem-1.4.0-2.rockspec | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/rockspecs/luafilesystem-1.4.0-2.rockspec b/rockspecs/luafilesystem-1.4.0-2.rockspec new file mode 100644 index 0000000..f7ed871 --- /dev/null +++ b/rockspecs/luafilesystem-1.4.0-2.rockspec | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | package = "LuaFileSystem" | ||
| 2 | version = "1.4.0-2" | ||
| 3 | source = { | ||
| 4 | url = "http://luaforge.net/frs/download.php/3158/luafilesystem-1.4.0.tar.gz" | ||
| 5 | } | ||
| 6 | description = { | ||
| 7 | summary = "File System Library for the Lua Programming Language", | ||
| 8 | detailed = [[ | ||
| 9 | LuaFileSystem is a Lua library developed to complement the set of | ||
| 10 | functions related to file systems offered by the standard Lua | ||
| 11 | distribution. LuaFileSystem offers a portable way to access the | ||
| 12 | underlying directory structure and file attributes. | ||
| 13 | ]] | ||
| 14 | } | ||
| 15 | dependencies = { | ||
| 16 | "lua >= 5.1" | ||
| 17 | } | ||
| 18 | build = { | ||
| 19 | platforms = { | ||
| 20 | unix = { | ||
| 21 | type = "make", | ||
| 22 | build_variables = { | ||
| 23 | LIB_OPTION = "$(LIBFLAG)", | ||
| 24 | CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR)", | ||
| 25 | }, | ||
| 26 | install_variables = { | ||
| 27 | LUA_LIBDIR = "$(LIBDIR)" | ||
| 28 | } | ||
| 29 | }, | ||
| 30 | win32 = { | ||
| 31 | type = "make", | ||
| 32 | build_variables = { | ||
| 33 | LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib", | ||
| 34 | CFLAGS = "/MD $(CFLAGS) /I$(LUA_INCDIR)", | ||
| 35 | }, | ||
| 36 | install_variables = { | ||
| 37 | LUA_LIBDIR = "$(LIBDIR)", | ||
| 38 | LUA_DIR = "$(LUADIR)", | ||
| 39 | BIN_DIR = "$(BINDIR)" | ||
| 40 | } | ||
| 41 | } | ||
| 42 | } | ||
| 43 | } \ No newline at end of file | ||
