Add buildroot 2018-02
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
Without this patch, dependencies would be downloaded and compiled
|
||||
by rebar at build time.
|
||||
|
||||
Signed-off-by: Christophe Romain <cromain@process-one.net>
|
||||
|
||||
diff --git a/rebar.config b/rebar.config
|
||||
index e09d08d..651a829 100644
|
||||
--- a/rebar.config
|
||||
+++ b/rebar.config
|
||||
@@ -24,8 +24,6 @@
|
||||
{port_env, [{"CFLAGS", "$CFLAGS"}, {"LDFLAGS", "$LDFLAGS -lyaml"}]}.
|
||||
{port_specs, [{"priv/lib/fast_yaml.so", ["c_src/fast_yaml.c"]}]}.
|
||||
|
||||
-{deps, [{p1_utils, ".*", {git, "git://github.com/processone/p1_utils", {tag, "1.0.10"}}}]}.
|
||||
-
|
||||
{clean_files, ["c_src/fast_yaml.gcda", "c_src/fast_yaml.gcno"]}.
|
||||
|
||||
{cover_enabled, true}.
|
||||
8
buildroot/package/erlang-p1-yaml/Config.in
Normal file
8
buildroot/package/erlang-p1-yaml/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_ERLANG_P1_YAML
|
||||
bool "erlang-p1-yaml"
|
||||
select BR2_PACKAGE_ERLANG_P1_UTILS
|
||||
select BR2_PACKAGE_LIBYAML
|
||||
help
|
||||
Erlang wrapper for libyaml C library
|
||||
|
||||
https://github.com/processone/p1_yaml
|
||||
2
buildroot/package/erlang-p1-yaml/erlang-p1-yaml.hash
Normal file
2
buildroot/package/erlang-p1-yaml/erlang-p1-yaml.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 5a6499a47cdd1f753a527cb8b79074312354063535adc0ca0fd7f72c2a015e3a erlang-p1-yaml-1.0.12.tar.gz
|
||||
13
buildroot/package/erlang-p1-yaml/erlang-p1-yaml.mk
Normal file
13
buildroot/package/erlang-p1-yaml/erlang-p1-yaml.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
################################################################################
|
||||
#
|
||||
# erlang-p1-yaml
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_P1_YAML_VERSION = 1.0.12
|
||||
ERLANG_P1_YAML_SITE = $(call github,processone,fast_yaml,$(ERLANG_P1_YAML_VERSION))
|
||||
ERLANG_P1_YAML_LICENSE = Apache-2.0
|
||||
ERLANG_P1_YAML_LICENSE_FILES = LICENSE.txt
|
||||
ERLANG_P1_YAML_DEPENDENCIES = libyaml erlang-p1-utils
|
||||
|
||||
$(eval $(rebar-package))
|
||||
Reference in New Issue
Block a user