elixir-1.4.2.recipe revision 88dd71ad
1SUMMARY="A dynamic, functional language for building scalable applications"
2DESCRIPTION="Elixir leverages the Erlang VM, known for running \
3low-latency, distributed and fault-tolerant systems, while also \
4being successfully used in web development and the embedded software \
5domain."
6HOMEPAGE="https://elixir-lang.org"
7COPYRIGHT="2012-2017 Plataformatec"
8LICENSE="Apache v2"
9REVISION="1"
10SOURCE_URI="https://github.com/elixir-lang/elixir/releases/download/v$portVersion/Precompiled.zip"
11SOURCE_FILENAME="elixir-$portVersion-Precompiled.zip"
12SOURCE_DIR=""
13CHECKSUM_SHA256="3ff610166612db10d3f97895972882a6912e99628e31116d22406389c1de48cc"
14
15ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
16
17PROVIDES="
18	elixir = $portVersion
19	cmd:elixir = $portVersion
20	cmd:elixirc = $portVersion
21	cmd:iex = $portVersion
22	cmd:mix = $portVersion
23	"
24REQUIRES="
25	haiku
26	cmd:erl >= 18.0
27	"
28
29BUILD_REQUIRES="
30	"
31
32BUILD_PREREQUIRES="
33	"
34
35INSTALL()
36{
37	mkdir -p $binDir
38	mkdir -p $libDir
39	chmod +x ./bin/*
40	cp ./bin/elixir $binDir
41	cp ./bin/elixirc $binDir
42	cp ./bin/iex $binDir
43	cp ./bin/mix $binDir
44	cp -R ./lib/* $libDir
45}
46