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: Thu, 28 Jan 2021 09:04:07
Message-Id: 1611824544.c570e582623c866f2a2c640282cf4537a76736ba.mgorny@gentoo
1 commit: c570e582623c866f2a2c640282cf4537a76736ba
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 28 09:00:50 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 28 09:02:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c570e582
7
8 sys-devel/llvmgold: Add 13.x live ebuild
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-devel/llvmgold/llvmgold-13.ebuild | 25 +++++++++++++++++++++++++
13 1 file changed, 25 insertions(+)
14
15 diff --git a/sys-devel/llvmgold/llvmgold-13.ebuild b/sys-devel/llvmgold/llvmgold-13.ebuild
16 new file mode 100644
17 index 00000000000..3bb1b5358af
18 --- /dev/null
19 +++ b/sys-devel/llvmgold/llvmgold-13.ebuild
20 @@ -0,0 +1,25 @@
21 +# Copyright 1999-2021 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
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 +PROPERTIES="live"
35 +
36 +RDEPEND="sys-devel/llvm:${PV}[gold]
37 + !sys-devel/llvm:0"
38 +
39 +S=${WORKDIR}
40 +
41 +src_install() {
42 + dodir "/usr/${CHOST}/binutils-bin/lib/bfd-plugins"
43 + dosym "../../../../lib/llvm/${PV}/$(get_libdir)/LLVMgold.so" \
44 + "/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so"
45 +}