logo

overlay

My (experimental) gentoo overlay
commit: 40e2af18b1472f11d97cf2a9a59984235434ccf5
parent: 1c1682e65e63c5a3cebc9ec3f2e9689f193d07ee
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 25 Jul 2019 19:04:42 +0200

dev-util/rebar: Install beam files of rebar

Diffstat:

Adev-util/rebar/Manifest1+
Adev-util/rebar/rebar-3.11.1.ebuild37+++++++++++++++++++++++++++++++++++++
Ddev-util/rebar3/Manifest1-
Ddev-util/rebar3/rebar3-3.11.1.ebuild33---------------------------------
4 files changed, 38 insertions(+), 34 deletions(-)

diff --git a/dev-util/rebar/Manifest b/dev-util/rebar/Manifest @@ -0,0 +1 @@ +DIST rebar-3.11.1.tar.gz 375468 BLAKE2B a12d2978bb4b70766057cdf2d39bc69774547b0b5186855ad06b7b33c8324ce9652d4df9ef31827836ca88a40396ba748b6f98bb70dd5eba16cdb73412a5647c SHA512 749368c8c19641d0c1083f1750438cfc5f1c75e284bd74b4f8ae368103e79a376f4bd91e85db35e1619116cd2f3b1a8dc2d3d89db19da8f4440e0b58d3c0a37c diff --git a/dev-util/rebar/rebar-3.11.1.ebuild b/dev-util/rebar/rebar-3.11.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit bash-completion-r1 rebar3 + +DESCRIPTION="Sophisticated build-tool for Erlang projects that follows OTP principles" +HOMEPAGE="https://www.rebar3.org/" +LICENSE="Apache-2.0" +SRC_URI="https://github.com/erlang/rebar3/archive/3.11.1.tar.gz -> ${P}.tar.gz" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +RESTRICT="network-sandbox" + +DEPEND="dev-lang/erlang" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}3-${PV}" + +src_compile() { + ./bootstrap || die +} + +src_test() { + ./rebar3 ct || die +} + +src_install() { + rebar3_src_install + + dobin rebar3 + doman manpages/rebar3.1 + dodoc rebar.config.sample + dobashcomp priv/shell-completion/bash/${PN} +} diff --git a/dev-util/rebar3/Manifest b/dev-util/rebar3/Manifest @@ -1 +0,0 @@ -DIST rebar3-3.11.1.tar.gz 375468 BLAKE2B a12d2978bb4b70766057cdf2d39bc69774547b0b5186855ad06b7b33c8324ce9652d4df9ef31827836ca88a40396ba748b6f98bb70dd5eba16cdb73412a5647c SHA512 749368c8c19641d0c1083f1750438cfc5f1c75e284bd74b4f8ae368103e79a376f4bd91e85db35e1619116cd2f3b1a8dc2d3d89db19da8f4440e0b58d3c0a37c diff --git a/dev-util/rebar3/rebar3-3.11.1.ebuild b/dev-util/rebar3/rebar3-3.11.1.ebuild @@ -1,33 +0,0 @@ -# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit bash-completion-r1 - -DESCRIPTION="Sophisticated build-tool for Erlang projects that follows OTP principles" -HOMEPAGE="https://www.rebar3.org/" -LICENSE="Apache-2.0" -SRC_URI="https://github.com/erlang/rebar3/archive/3.11.1.tar.gz -> ${P}.tar.gz" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="" -RESTRICT="network-sandbox" - -DEPEND="dev-lang/erlang" -RDEPEND="${DEPEND}" - -src_compile() { - ./bootstrap || die -} - -src_test() { - ./rebar3 ct || die -} - -src_install() { - dobin rebar3 - doman manpages/rebar3.1 - dodoc rebar.config.sample - dobashcomp priv/shell-completion/bash/${PN} -}