aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rockspecs/luafilesystem-1.4.0-2.rockspec43
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 @@
1package = "LuaFileSystem"
2version = "1.4.0-2"
3source = {
4 url = "http://luaforge.net/frs/download.php/3158/luafilesystem-1.4.0.tar.gz"
5}
6description = {
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}
15dependencies = {
16 "lua >= 5.1"
17}
18build = {
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