mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-22 20:24:36 +02:00
53 lines
1.1 KiB
Lua
53 lines
1.1 KiB
Lua
|
|
-- Packs lua-iconv into a LuaRock
|
|
-- rockspec based uppon the file provided by DarkGod <darkgod at net-core.org>
|
|
|
|
package = "lua-iconv"
|
|
version = "7-1"
|
|
|
|
source = {
|
|
url = "https://github.com/downloads/ittner/lua-iconv/lua-iconv-7.tar.gz",
|
|
md5 = "8a38b4e6ac8a9290093898793d16fe4b"
|
|
}
|
|
|
|
description = {
|
|
summary = "Lua binding to the iconv",
|
|
detailed = [[
|
|
Lua binding to the POSIX 'iconv' library, which converts a sequence of
|
|
characters from one codeset into a sequence of corresponding characters
|
|
in another codeset.
|
|
]],
|
|
license = "MIT/X11",
|
|
homepage = "https://github.com/ittner/lua-iconv/"
|
|
}
|
|
|
|
dependencies = {
|
|
"lua >= 5.1",
|
|
}
|
|
|
|
external_dependencies = {
|
|
ICONV = {
|
|
header = "iconv.h"
|
|
}
|
|
}
|
|
|
|
build = {
|
|
type = "builtin",
|
|
modules = {
|
|
iconv = {
|
|
sources = {"luaiconv.c"},
|
|
incdirs = {"$(ICONV_INCDIR)"},
|
|
libdirs = {"$(ICONV_LIBDIR)"}
|
|
}
|
|
},
|
|
platforms = {
|
|
cygwin = {
|
|
modules = {
|
|
iconv = {
|
|
libraries = {"iconv"}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|