mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
46 lines
1.1 KiB
Bash
46 lines
1.1 KiB
Bash
SUMMARY="A dynamic, functional language for building scalable applications"
|
|
DESCRIPTION="Elixir leverages the Erlang VM, known for running \
|
|
low-latency, distributed and fault-tolerant systems, while also \
|
|
being successfully used in web development and the embedded software \
|
|
domain."
|
|
HOMEPAGE="https://elixir-lang.org"
|
|
COPYRIGHT="2012-2020 Plataformatec"
|
|
LICENSE="Apache v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/elixir-lang/elixir/releases/download/v$portVersion/Precompiled.zip"
|
|
SOURCE_FILENAME="elixir-$portVersion-Precompiled.zip"
|
|
SOURCE_DIR=""
|
|
CHECKSUM_SHA256="8cdc158084405a1f867076d55f58351cf75f4e9a21fa36d9fd8a13021e8cd6fc"
|
|
|
|
ARCHITECTURES="all !x86_gcc2 ?x86"
|
|
|
|
PROVIDES="
|
|
elixir = $portVersion
|
|
cmd:elixir = $portVersion
|
|
cmd:elixirc = $portVersion
|
|
cmd:iex = $portVersion
|
|
cmd:mix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:erl >= 20.0
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
"
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir
|
|
mkdir -p $libDir
|
|
chmod +x ./bin/*
|
|
cp ./bin/elixir $binDir
|
|
cp ./bin/elixirc $binDir
|
|
cp ./bin/iex $binDir
|
|
cp ./bin/mix $binDir
|
|
cp -R ./lib/* $libDir
|
|
}
|