Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/llvmgold/
Date: Wed, 16 Jan 2019 14:52:50
Message-Id: 1547650345.2a39ab32a9599de63015bddaebe11f602cc3e711.mgorny@gentoo
1 commit: 2a39ab32a9599de63015bddaebe11f602cc3e711
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 16 13:45:13 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 16 14:52:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a39ab32
7
8 sys-devel/llvmgold: Copy for slot :9
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-devel/llvmgold/llvmgold-9.ebuild | 24 ++++++++++++++++++++++++
13 1 file changed, 24 insertions(+)
14
15 diff --git a/sys-devel/llvmgold/llvmgold-9.ebuild b/sys-devel/llvmgold/llvmgold-9.ebuild
16 new file mode 100644
17 index 00000000000..2003115b219
18 --- /dev/null
19 +++ b/sys-devel/llvmgold/llvmgold-9.ebuild
20 @@ -0,0 +1,24 @@
21 +# Copyright 1999-2019 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +DESCRIPTION="LLVMgold plugin symlink for autoloading"
27 +HOMEPAGE="https://llvm.org/"
28 +SRC_URI=""
29 +
30 +LICENSE="public-domain"
31 +SLOT="0"
32 +KEYWORDS=""
33 +IUSE=""
34 +
35 +RDEPEND="sys-devel/llvm:${PV}[gold]
36 + !sys-devel/llvm:0"
37 +
38 +S=${WORKDIR}
39 +
40 +src_install() {
41 + dodir "/usr/${CHOST}/binutils-bin/lib/bfd-plugins"
42 + dosym "../../../../lib/llvm/${PV}/$(get_libdir)/LLVMgold.so" \
43 + "/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so"
44 +}