mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
2
package/erlang-rebar/erlang-rebar.hash
Normal file
2
package/erlang-rebar/erlang-rebar.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 577246bafa2eb2b2c3f1d0c157408650446884555bf87901508ce71d5cc0bd07 erlang-rebar-2.6.4.tar.gz
|
||||
31
package/erlang-rebar/erlang-rebar.mk
Normal file
31
package/erlang-rebar/erlang-rebar.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# erlang-rebar
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ERLANG_REBAR_VERSION = 2.6.4
|
||||
|
||||
# Upstream publishes a release, but we can not use it as it is a release of
|
||||
# a generated rebar script, when we want the sources. So we have to use the
|
||||
# gihub helper in this case.
|
||||
ERLANG_REBAR_SITE = $(call github,rebar,rebar,$(ERLANG_REBAR_VERSION))
|
||||
|
||||
# Although the file LICENSE state Apache-2.0, a lot (if not all) the files
|
||||
# in src/ bear the MIT licence.
|
||||
ERLANG_REBAR_LICENSE = Apache-2.0, MIT
|
||||
ERLANG_REBAR_LICENSE_FILES = LICENSE
|
||||
|
||||
# We do not have a target variant, so just define the dependencies,
|
||||
# configure and build commands for the host variant.
|
||||
HOST_ERLANG_REBAR_DEPENDENCIES = host-erlang
|
||||
|
||||
define HOST_ERLANG_REBAR_BUILD_CMDS
|
||||
cd $(@D) && $(HOST_MAKE_ENV) $(MAKE)
|
||||
endef
|
||||
|
||||
define HOST_ERLANG_REBAR_INSTALL_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/rebar $(HOST_DIR)/bin/rebar
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user