diff options
author | Amadeusz Piotr Żołnowski <aidecoe@gentoo.org> | 2018-10-24 23:23:19 +0100 |
---|---|---|
committer | Amadeusz Piotr Żołnowski <aidecoe@gentoo.org> | 2018-10-24 23:26:59 +0100 |
commit | 1efa3958413cda09142e12371e54032a9c442e17 (patch) | |
tree | 14c15f04afc9cc1a3d1b79e4f82570a52175d7aa /dev-util/rebar-bin/rebar-bin-3.6.2.ebuild | |
parent | app-admin/puppet: 5.5.7 bump (diff) | |
download | gentoo-1efa3958413cda09142e12371e54032a9c442e17.tar.gz gentoo-1efa3958413cda09142e12371e54032a9c442e17.tar.bz2 gentoo-1efa3958413cda09142e12371e54032a9c442e17.zip |
dev-lang/rebar-bin: Add new package
Fetch and install prebuilt binary as it's way easier than building this
from source.
Bug: https://bugs.gentoo.org/628876
Signed-off-by: Amadeusz Piotr Żołnowski <aidecoe@gentoo.org>
Diffstat (limited to 'dev-util/rebar-bin/rebar-bin-3.6.2.ebuild')
-rw-r--r-- | dev-util/rebar-bin/rebar-bin-3.6.2.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-util/rebar-bin/rebar-bin-3.6.2.ebuild b/dev-util/rebar-bin/rebar-bin-3.6.2.ebuild new file mode 100644 index 000000000000..9835d50cdf22 --- /dev/null +++ b/dev-util/rebar-bin/rebar-bin-3.6.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=${P#-bin} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A sophisticated build-tool for Erlang projects that follows OTP principles" +HOMEPAGE="https://github.com/erlang/rebar3" + +SRC_URI="https://github.com/erlang/rebar3/releases/download/${PV}/rebar3" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/erlang" +DEPEND="" + +S="${WORKDIR}" + +QA_PREBUILT="/usr/bin/rebar3" + +src_unpack() { + cp -v "${DISTDIR}/${A}" "${S}/" || die +} + +src_install() { + dobin rebar3 +} |