void-packages/srcpkgs/elixir/template
2022-01-20 21:21:03 +01:00

22 lines
772 B
Bash

# Template file for 'elixir'
pkgname=elixir
version=1.13.2
revision=1
build_style=gnu-makefile
make_check_target="test"
hostmakedepends="erlang"
depends="erlang>=23"
checkdepends="git"
short_desc="Functional, concurrent, general-purpose programming language"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="Apache-2.0"
homepage="http://elixir-lang.org/"
changelog="https://raw.githubusercontent.com/elixir-lang/elixir/v${version%.*}/CHANGELOG.md"
distfiles="https://github.com/elixir-lang/elixir/archive/v${version}.tar.gz"
checksum=03afed42dccf4347c4d3ae2b905134093a3ba2245d0d3098d75009a1d659ed1a
do_check() {
ERL_EPMD_PORT=5369 make ${make_check_target}
# The elixir test suite starts up epmd and then doesn't kill it again afterwards.
epmd -port 5369 -kill
}