mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-22 20:24:36 +02:00
Adding rockspec
git-svn-id: file:///var/svn/lua-iconv/trunk@46 9538949d-8f27-0410-946f-ce01ef448559
This commit is contained in:
parent
49ea4854ff
commit
f4bd6bed27
37
lua-iconv-r4-1.rockspec
Normal file
37
lua-iconv-r4-1.rockspec
Normal file
@ -0,0 +1,37 @@
|
||||
|
||||
-- Packs Lua-iconv into a LuaRock
|
||||
-- rockspec based uppon the file provided by DarkGod <darkgod at net-core.org>
|
||||
|
||||
package = "Lua-iconv"
|
||||
version = "r4-1"
|
||||
source = {
|
||||
url = "http://luaforge.net/frs/download.php/xxxx/lua-iconv-r4.tar.gz",
|
||||
}
|
||||
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 = "http://luaforge.net/projects/lua-iconv/"
|
||||
}
|
||||
dependencies = {
|
||||
"lua >= 5.1",
|
||||
}
|
||||
external_dependencies = {
|
||||
ICONV = {
|
||||
header = "iconv.h"
|
||||
}
|
||||
}
|
||||
build = {
|
||||
type = "make",
|
||||
variables = {
|
||||
CFLAGS = "-I$(LUA_INCDIR) -O3 -Wall",
|
||||
LFLAGS = "$(LIBFLAG)",
|
||||
LIBS = "",
|
||||
INSTALL_PATH = "$(LIBDIR)"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user