mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 11:21:17 +02:00
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
# Maintainer: Marlus Saraiva <marlus.saraiva@gmail.com>
|
|
pkgname=elixir
|
|
pkgver=1.6.6
|
|
pkgrel=0
|
|
pkgdesc="Elixir is a dynamic, functional language designed for building scalable and maintainable applications"
|
|
url="http://elixir-lang.org"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="erlang erlang-inets erlang-ssl
|
|
erlang-public-key erlang-asn1 erlang-sasl erlang-erl-interface erlang-dev erlang-dialyzer erlang-erts erlang-hipe"
|
|
makedepends="erlang-crypto erlang-syntax-tools erlang-parsetools erlang-eunit erlang-tools"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/elixir-lang/elixir/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
case "$CARCH" in
|
|
aarch64) options="!check" ;; # FIXME
|
|
esac
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
LANG="en_US.UTF-8" make -j1
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" PREFIX=/usr install
|
|
}
|
|
|
|
sha512sums="62010100274b99423bb6a660e34ef53a702250a09371ef4b49ec03a3afe8761611b3734aea31763afa361560eb74c6d23e022d4d9bc4453c1bdef36bb37f9b4d elixir-1.6.6.tar.gz"
|