Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
Add rockspec file.
Browse files Browse the repository at this point in the history
  • Loading branch information
moteus committed Apr 11, 2013
1 parent 849a919 commit 46f9dc9
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions rockspecs/ZipWriter-scm-0.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
package = "ZipWriter"
version = "scm-0"
source = {
url = "https://github.com/moteus/ZipWriter/archive/master.zip",
dir = "ZipWriter-master",
}

description = {
summary = "Library for creating ZIP archive for Lua 5.1/5.2",
homepage = "https://github.com/ZipWriter/lua-pop3",
detailed = [[This package provides a library to create zip archives.
This library support non seekable streams (e.g. socket) and ZIP64 format.
]],
license = "MIT/X11",
}

dependencies = {
"lua >= 5.1",
"bit32",
"lzlib",
-- "lua-iconv >= 7.0", -- optional
-- "alien >= 0.7.0", -- optional on windows
}

build = {
type = "builtin",
copy_directories = {"test"},

platforms = {
windows = {
modules = {
["ZipWriter.win.cp"] = "lua/ZipWriter/win/cp.lua",
}
}
},

modules = {
["ZipWriter" ] = "lua/ZipWriter.lua",
["ZipWriter.binary_converter"] = "lua/ZipWriter/binary_converter.lua",
["ZipWriter.charset"] = "lua/ZipWriter/charset.lua",
["ZipWriter.message"] = "lua/ZipWriter/utils.lua",
}
}



0 comments on commit 46f9dc9

Please sign in to comment.