Debian Codegraph @

lua-iconv-7.rockspec

raw
1
2 -- Packs lua-iconv into a LuaRock
3 -- rockspec based uppon the file provided by DarkGod <darkgod at net-core.org>
4
5 package = "lua-iconv"
6 version = "7"
7
8 source = {
9 url = "https://github.com/downloads/ittner/lua-iconv/lua-iconv-7.tar.gz",
10 md5 = "8a38b4e6ac8a9290093898793d16fe4b"
11 }
12
13 description = {
14 summary = "Lua binding to the iconv",
15 detailed = [[
16 Lua binding to the POSIX 'iconv' library, which converts a sequence of
17 characters from one codeset into a sequence of corresponding characters
18 in another codeset.
19 ]],
20 license = "MIT/X11",
21 homepage = "http://ittner.github.com/lua-iconv/"
22 }
23
24 dependencies = {
25 "lua >= 5.1",
26 }
27
28 external_dependencies = {
29 ICONV = {
30 header = "iconv.h"
31 }
32 }
33
34 build = {
35 type = "builtin",
36 modules = {
37 iconv = {
38 sources = {"luaiconv.c"},
39 incdirs = {"$(ICONV_INCDIR)"},
40 libdirs = {"$(ICONV_LIBDIR)"}
41 }
42 },
43 platforms = {
44 cygwin = {
45 modules = {
46 iconv = {
47 libraries = {"iconv"}
48 }
49 }
50 }
51 }
52 }