lua-iconv: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Francois Perrad 2015-07-13 20:11:00 +02:00 committed by Thomas Petazzoni
parent dcd309f333
commit 07f92eeb10
3 changed files with 22 additions and 0 deletions

View File

@ -481,6 +481,7 @@ menu "Lua libraries/modules"
source "package/lua-coatpersistent/Config.in"
source "package/lua-csnappy/Config.in"
source "package/lua-ev/Config.in"
source "package/lua-iconv/Config.in"
source "package/lua-messagepack/Config.in"
source "package/lua-msgpack-native/Config.in"
source "package/lua-periphery/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_LUA_ICONV
bool "lua-iconv"
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
Lua binding to the POSIX 'iconv' library
http://ittner.github.io/lua-iconv/

View File

@ -0,0 +1,14 @@
################################################################################
#
# lua-iconv
#
################################################################################
LUA_ICONV_VERSION_UPSTREAM = 7
LUA_ICONV_VERSION = $(LUA_ICONV_VERSION_UPSTREAM)-1
LUA_ICONV_SUBDIR = lua-iconv-$(LUA_ICONV_VERSION_UPSTREAM)
LUA_ICONV_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
LUA_ICONV_LICENSE = MIT
LUA_ICONV_LICENSE_FILES = $(LUA_ICONV_SUBDIR)/COPYING
$(eval $(luarocks-package))