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: Sun, 06 Feb 2022 15:35:11
Message-Id: 1644161658.4bda8258da918df0ab386e3474435067da0f9ff2.mgorny@gentoo
1 commit: 4bda8258da918df0ab386e3474435067da0f9ff2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 6 15:16:39 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 6 15:34:18 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bda8258
7
8 sys-devel/llvmgold: Add 15.x live ebuild
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-devel/llvmgold/llvmgold-15.ebuild | 25 +++++++++++++++++++++++++
13 1 file changed, 25 insertions(+)
14
15 diff --git a/sys-devel/llvmgold/llvmgold-15.ebuild b/sys-devel/llvmgold/llvmgold-15.ebuild
16 new file mode 100644
17 index 000000000000..06fbe1b7719a
18 --- /dev/null
19 +++ b/sys-devel/llvmgold/llvmgold-15.ebuild
20 @@ -0,0 +1,25 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
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}[binutils-plugin]
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 +}