erlang-p1-iconv: new package.
authorJohan Oudinet <johan.oudinet@gmail.com>
Mon, 12 Jan 2015 09:32:18 +0000 (10:32 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 3 Feb 2015 09:23:33 +0000 (10:23 +0100)
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/erlang-p1-iconv/Config.in [new file with mode: 0644]
package/erlang-p1-iconv/erlang-p1-iconv.mk [new file with mode: 0644]

index bfe6aa72007f9499af9a1e5141db54569e9fec9b..e9cabfae2e2cb4464c5f73a755ce83ef168b5c0e 100644 (file)
@@ -401,6 +401,7 @@ if BR2_PACKAGE_ERLANG
 menu "Erlang libraries/modules"
        source "package/erlang-goldrush/Config.in"
        source "package/erlang-lager/Config.in"
+       source "package/erlang-p1-iconv/Config.in"
        source "package/erlang-p1-sip/Config.in"
        source "package/erlang-p1-stringprep/Config.in"
        source "package/erlang-p1-stun/Config.in"
diff --git a/package/erlang-p1-iconv/Config.in b/package/erlang-p1-iconv/Config.in
new file mode 100644 (file)
index 0000000..98efb21
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_ERLANG_P1_ICONV
+       bool "erlang-p1-iconv"
+       select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+       help
+         Erlang interface to libiconv
+
+         https://github.com/processone/eiconv
diff --git a/package/erlang-p1-iconv/erlang-p1-iconv.mk b/package/erlang-p1-iconv/erlang-p1-iconv.mk
new file mode 100644 (file)
index 0000000..2189f01
--- /dev/null
@@ -0,0 +1,18 @@
+################################################################################
+#
+# erlang-p1-iconv
+#
+################################################################################
+
+ERLANG_P1_ICONV_VERSION = dff5ee5
+ERLANG_P1_ICONV_SITE = $(call github,processone,eiconv,$(ERLANG_P1_ICONV_VERSION))
+ERLANG_P1_ICONV_LICENSE = GPLv2+
+ERLANG_P1_ICONV_LICENSE_FILES = COPYING
+
+ifeq ($(BR2_PACKAGE_LIBICONV),y)
+ERLANG_P1_ICONV_DEPENDENCIES += libiconv
+endif
+
+ERLANG_P1_ICONV_USE_AUTOCONF = YES
+
+$(eval $(rebar-package))