From c2e720b5dc42d8e9cd3ba64276ad6cf47aea26b0 Mon Sep 17 00:00:00 2001 From: carregal Date: Mon, 18 Feb 2008 18:55:14 +0000 Subject: Finishing the new rockspecs --- rockspecs/luafilesystem-cvs-2.rockspec | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 rockspecs/luafilesystem-cvs-2.rockspec diff --git a/rockspecs/luafilesystem-cvs-2.rockspec b/rockspecs/luafilesystem-cvs-2.rockspec new file mode 100644 index 0000000..45e7b38 --- /dev/null +++ b/rockspecs/luafilesystem-cvs-2.rockspec @@ -0,0 +1,44 @@ +package = "LuaFileSystem" +version = "cvs-2" +source = { + url = "cvs://:pserver:anonymous:@cvs.luaforge.net:/cvsroot/luafilesystem", + cvs_tag = "HEAD" +} +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 = { + platforms = { + unix = { + type = "make", + build_variables = { + LIB_OPTION = "$(LIBFLAG)", + CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR)", + }, + 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)" + } + } + } +} -- cgit v1.2.3-55-g6feb