mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-23 04:34:33 +02:00
chore(dev): add a 'dev' rockspec to build from the source tree
This commit is contained in:
parent
11545d0533
commit
1e6d024dc2
57
lua-iconv-dev-1.rockspec
Normal file
57
lua-iconv-dev-1.rockspec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
-- Packs lua-iconv into a LuaRock
|
||||||
|
-- rockspec based uppon the file provided by DarkGod <darkgod at net-core.org>
|
||||||
|
|
||||||
|
package = "lua-iconv"
|
||||||
|
version = "dev-1"
|
||||||
|
|
||||||
|
source = {
|
||||||
|
url = "git+https://github.com/lunarmodules/lua-iconv",
|
||||||
|
}
|
||||||
|
|
||||||
|
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/lunarmodules/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"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
macosx = {
|
||||||
|
modules = {
|
||||||
|
iconv = {
|
||||||
|
libraries = {"iconv"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user