Requires erlang>=22 now -- without this, if someone installs rebar3 while erlang is held on an earlier release, this breaks rebar3 (because no forward compatibility).
23 lines
570 B
Bash
23 lines
570 B
Bash
# Template file for 'rebar3'
|
|
pkgname=rebar3
|
|
version=3.11.0
|
|
revision=1
|
|
archs=noarch
|
|
hostmakedepends=erlang
|
|
depends="erlang>=22"
|
|
short_desc="Erlang build tool to compile, test, and release applications"
|
|
maintainer="Noel Cower <ncower@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://www.rebar3.org/"
|
|
distfiles="https://github.com/erlang/rebar3/archive/${version}.tar.gz"
|
|
checksum=d0f567bf5cfd60e16650b151a7caa24bf8164fb1c31359ce8b0452a683209421
|
|
|
|
do_build() {
|
|
./bootstrap
|
|
}
|
|
|
|
do_install() {
|
|
vbin rebar3
|
|
vsconf rebar.config.sample rebar.config
|
|
vman manpages/rebar3.1
|
|
}
|