@@ -861,6 +861,7 @@ F: package/python-libconfig/
N: Johan Oudinet <johan.oudinet@gmail.com>
F: package/ejabberd/
F: package/erlang-goldrush/
+F: package/erlang-jiffy/
F: package/erlang-lager/
F: package/erlang-p1-cache-tab/
F: package/erlang-p1-iconv/
@@ -510,6 +510,7 @@ menu "Interpreter languages and scripting"
if BR2_PACKAGE_ERLANG
menu "Erlang libraries/modules"
source "package/erlang-goldrush/Config.in"
+ source "package/erlang-jiffy/Config.in"
source "package/erlang-lager/Config.in"
source "package/erlang-p1-cache-tab/Config.in"
source "package/erlang-p1-iconv/Config.in"
new file mode 100644
@@ -0,0 +1,10 @@
+comment "erlang-jiffy needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
+
+config BR2_PACKAGE_ERLANG_JIFFY
+ bool "erlang-jiffy"
+ depends on BR2_INSTALL_LIBSTDCPP
+ help
+ JSON NIFs for Erlang.
+
+ https://github.com/davisp/jiffy
new file mode 100644
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 7d1054c475c82c626de3ad57201a7fc51da38667c8a7502149eb751edc6b601d erlang-jiffy-0.14.8.tar.gz
new file mode 100644
@@ -0,0 +1,13 @@
+################################################################################
+#
+# erlang-jiffy
+#
+################################################################################
+
+ERLANG_JIFFY_VERSION = 0.14.8
+ERLANG_JIFFY_SITE = $(call github,davisp,jiffy,$(ERLANG_JIFFY_VERSION))
+ERLANG_JIFFY_LICENSE = MIT (core), BSD-3-Clause (Google double \
+conversion library), BSD-3-Clause (tests)
+ERLANG_JIFFY_LICENSE_FILES = LICENSE
+
+$(eval $(rebar-package))
JSON NIFs for Erlang. https://github.com/davisp/jiffy Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com> --- Changes v1 -> v2: - Fix license info (suggested by Thomas) - Add an entry to the DEVELOPERS file --- DEVELOPERS | 1 + package/Config.in | 1 + package/erlang-jiffy/Config.in | 10 ++++++++++ package/erlang-jiffy/erlang-jiffy.hash | 2 ++ package/erlang-jiffy/erlang-jiffy.mk | 13 +++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/erlang-jiffy/Config.in create mode 100644 package/erlang-jiffy/erlang-jiffy.hash create mode 100644 package/erlang-jiffy/erlang-jiffy.mk