commit: 7b02d9e6875a9130cf8e53a90c0c1906e3aed8be
parent: 9017e5db3510a31ec108a10e750eed4ba8396b16
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 14 Jun 2019 00:29:23 +0200
dev-util/rebar3: New Package
Diffstat:
2 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/dev-util/rebar3/Manifest b/dev-util/rebar3/Manifest
@@ -0,0 +1 @@
+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
@@ -0,0 +1,32 @@
+# 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=""
+
+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}
+}