Skip to content

Commit

Permalink
Bump rockrel high enough luarocks considers v7.0.0 newer than v7
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Oct 17, 2023
1 parent 8e19fde commit 9e865ff
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions rockspecs/lua-iconv-7.0.0-4.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
-- Packs lua-iconv into a LuaRock
-- rockspec based uppon the file provided by DarkGod <darkgod at net-core.org>

package = "lua-iconv"
version = "7.0.0-4"

source = {
url = "https://github.com/lunarmodules/lua-iconv/archive/v7.0.0/lua-iconv-7.0.0.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 = "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"}
}
}
}
}
}

0 comments on commit 9e865ff

Please sign in to comment.