Skip to contentSkip to conversation

lua-iconv: new package

PATCH New Francois Perrad 2 participants 2 messages Jul 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v5 1/1 lua-iconv: new package

---
 package/Config.in              |  1 +
 package/lua-iconv/Config.in    |  7 +++++++
 package/lua-iconv/lua-iconv.mk | 14 ++++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 package/lua-iconv/Config.in
 create mode 100644 package/lua-iconv/lua-iconv.mk
package/Config.in +1 -0
index c5769d6..9dbb284 100644
@@ -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"
package/lua-iconv/Config.in new file +7 -0
new file mode 100644
index 0000000..e76019d
@@ -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/
package/lua-iconv/lua-iconv.mk new file +14 -0
new file mode 100644
index 0000000..f0afa2b
@@ -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))
Signature · 1 line
2.1.4
#1 lore raw

PATCH v5 1/1 lua-iconv: new package

Dear Francois Perrad,

Quoted 8 lines · Francois Perrad
---
 package/Config.in              |  1 +
 package/lua-iconv/Config.in    |  7 +++++++
 package/lua-iconv/lua-iconv.mk | 14 ++++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 package/lua-iconv/Config.in
 create mode 100644 package/lua-iconv/lua-iconv.mk

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com