]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
erlang-jiffy: new package
authorJohan Oudinet <johan.oudinet@gmail.com>
Wed, 31 May 2017 16:35:42 +0000 (18:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 31 May 2017 19:14:12 +0000 (21:14 +0200)
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/erlang-jiffy/Config.in [new file with mode: 0644]
package/erlang-jiffy/erlang-jiffy.hash [new file with mode: 0644]
package/erlang-jiffy/erlang-jiffy.mk [new file with mode: 0644]

index a8fa14365c2fc5014bb2b6778ed201033ca93532..231e73323b7780e70d751623b3bfb887e43141a7 100644 (file)
@@ -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/
index 7991353f99738074936ffde6aa37392505b7f4b9..2b53add30092cb5e4344834269f212b9a0e11862 100644 (file)
@@ -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"
diff --git a/package/erlang-jiffy/Config.in b/package/erlang-jiffy/Config.in
new file mode 100644 (file)
index 0000000..d65f42c
--- /dev/null
@@ -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
diff --git a/package/erlang-jiffy/erlang-jiffy.hash b/package/erlang-jiffy/erlang-jiffy.hash
new file mode 100644 (file)
index 0000000..1f83e27
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 7d1054c475c82c626de3ad57201a7fc51da38667c8a7502149eb751edc6b601d erlang-jiffy-0.14.8.tar.gz
diff --git a/package/erlang-jiffy/erlang-jiffy.mk b/package/erlang-jiffy/erlang-jiffy.mk
new file mode 100644 (file)
index 0000000..674c80f
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# 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))