2020-02-04 11:07:32 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# elixir
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
ELIXIR_VERSION = 1.9.4
|
|
|
|
ELIXIR_SITE = $(call github,elixir-lang,elixir,v$(ELIXIR_VERSION))
|
|
|
|
ELIXIR_LICENSE = Apache-2.0
|
|
|
|
ELIXIR_LICENSE_FILES = LICENSE
|
2020-08-20 12:30:34 +02:00
|
|
|
HOST_ELIXIR_DEPENDENCIES = host-erlang
|
2020-02-04 11:07:32 +01:00
|
|
|
|
|
|
|
define HOST_ELIXIR_BUILD_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_ELIXIR_INSTALL_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) PREFIX="$(HOST_DIR)" -C $(@D) install
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(host-generic-package))
|