summaryrefslogtreecommitdiff
path: root/dev-util/rebar
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-13 10:39:22 +0100
commit9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch)
tree8ac67e26b45f34d71c5aab3621813b100a0d5f00 /dev-util/rebar
parentf516638b7fe9592837389826a6152a7e1b251c54 (diff)
gentoo resync : 13.06.2020
Diffstat (limited to 'dev-util/rebar')
-rw-r--r--dev-util/rebar/Manifest2
-rw-r--r--dev-util/rebar/files/rebar-erlang23.diff12
-rw-r--r--dev-util/rebar/rebar-2.6.4-r1.ebuild30
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/rebar/Manifest b/dev-util/rebar/Manifest
index d169b2897c08..8193fc74f0f0 100644
--- a/dev-util/rebar/Manifest
+++ b/dev-util/rebar/Manifest
@@ -1,3 +1,5 @@
+AUX rebar-erlang23.diff 602 BLAKE2B 761b7e35408487698b27b0169989937305e9c7db14b49f5cbd411f4cfe19525a82e50d3c105f38d1fedc75f4c51d264fbf4a4a496b9bbce826b994241073fea3 SHA512 5f57f199dcd5544dec48119feeb288c2d6f5f0a45307b09489a37702609f6e79db08982764bd07f898c7858d45d8c154e314fab131b70996c95a1473561ba8c4
DIST rebar-2.6.4.tar.gz 213158 BLAKE2B a71c525948697f9ba44a7faa9183f1aadce031b8b85857da87c5b2376f3b7511c78d02c183b115836605a6d3830e9b9ceac754ab64ec11d9d1bb66f37ea78665 SHA512 4e53d1ab7db296c60fb039443da7e3b31b63410fc614690c6faa7ec330d9e9393dbc1c8507aa4aea2c99397e1b443ff9d25e4d57ec57f616ee748aa97d055ffa
+EBUILD rebar-2.6.4-r1.ebuild 676 BLAKE2B d53a85d5cbb269b57cc1c22e0861682f66a1fae4d664c5acdd1c495e77b1077071945a2e4c93fa7ab2c0b71f001c8752c409edfe20c223baa6ff2a36f863fb06 SHA512 c332ec872e1dbaa57aee43fa21b8dfd7bef0adc19f7c64529138b2a20df0717900a14ba855ec65828ca1ad1abf4d6c024034970107491a8baf4de2afb168a3fd
EBUILD rebar-2.6.4.ebuild 624 BLAKE2B d634bc46b48270d5c5a4b1c2d3680102d61a469ed8d904faea392a257c161295a2175a26afffaf367b3b2feba3b5268805af142f9cb685a29d6b6945c22ad983 SHA512 08a934a6d39eb91cba297036d22f40f0b6024e05c46630a4096f58cbee55928aeabee71ed0cb3c46a7db0791b7d62ddc6f6306a06756d00987439b0f7b7c4914
MISC metadata.xml 248 BLAKE2B 404382bd4b92d22cc627b066d14310ac5f538e3bcac366e8cddb43c871c13d4efade2036bb49f5e8ac3c7511f28e6eae58a1e350bc48ef8b9f2031b460c741c1 SHA512 c6b32cd3a892084eff028d3afb657fef0e0921e6636628cfc2d81b7bada9d0c7d03005f8c8ed1ffddc7d491bd6725c771506dd3da20dc5a60619efaccf0974aa
diff --git a/dev-util/rebar/files/rebar-erlang23.diff b/dev-util/rebar/files/rebar-erlang23.diff
new file mode 100644
index 000000000000..da4835a8b28d
--- /dev/null
+++ b/dev-util/rebar/files/rebar-erlang23.diff
@@ -0,0 +1,12 @@
+diff -Naurp a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl
+--- a/src/rebar_port_compiler.erl 2016-08-31 16:47:31.000000000 +0200
++++ b/src/rebar_port_compiler.erl 2020-05-23 13:03:22.464682124 +0200
+@@ -673,7 +673,7 @@ default_env() ->
+ "\" "
+ ])},
+ {"ERL_EI_LIBDIR", lists:concat(["\"", erl_interface_dir(lib), "\""])},
+- {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lerl_interface -lei"},
++ {"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lei"},
+ {"ERLANG_ARCH" , rebar_utils:wordsize()},
+ {"ERLANG_TARGET", rebar_utils:get_arch()},
+
diff --git a/dev-util/rebar/rebar-2.6.4-r1.ebuild b/dev-util/rebar/rebar-2.6.4-r1.ebuild
new file mode 100644
index 000000000000..ea5c7125e53a
--- /dev/null
+++ b/dev-util/rebar/rebar-2.6.4-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit bash-completion-r1
+
+DESCRIPTION="A sophisticated build-tool for Erlang projects that follows OTP principles"
+HOMEPAGE="https://github.com/rebar/rebar"
+SRC_URI="https://github.com/rebar/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/erlang:="
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/rebar-erlang23.diff" )
+
+src_test() {
+ emake xref
+}
+
+src_install() {
+ dobin rebar
+ dodoc rebar.config.sample THANKS
+ dobashcomp priv/shell-completion/bash/${PN}
+}