diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-07-23 18:56:11 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-07-24 21:03:52 +0200 |
commit | a9a446692a1fba35bfb98568b543558e69a4407c (patch) | |
tree | be7763a281f30360c8b67cb2f9287b4a2642bdbe /sys-devel/llvmgold | |
parent | sys-devel/llvm: Adjust the slot for 9999 (diff) | |
download | gentoo-a9a446692a1fba35bfb98568b543558e69a4407c.tar.gz gentoo-a9a446692a1fba35bfb98568b543558e69a4407c.tar.bz2 gentoo-a9a446692a1fba35bfb98568b543558e69a4407c.zip |
sys-devel/llvmgold: Add a slot for live 6.0.0 branch
Diffstat (limited to 'sys-devel/llvmgold')
-rw-r--r-- | sys-devel/llvmgold/llvmgold-6.ebuild | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-devel/llvmgold/llvmgold-6.ebuild b/sys-devel/llvmgold/llvmgold-6.ebuild new file mode 100644 index 000000000000..6e0663ca9db8 --- /dev/null +++ b/sys-devel/llvmgold/llvmgold-6.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="LLVMgold plugin symlink for autoloading" +HOMEPAGE="https://llvm.org/" +SRC_URI="" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND="sys-devel/llvm:${PV}[gold] + !sys-devel/llvm:0" + +S=${WORKDIR} + +src_install() { + dodir "/usr/${CHOST}/binutils-bin/lib/bfd-plugins" + dosym "../../../../lib/llvm/${PV}/$(get_libdir)/LLVMgold.so" \ + "/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so" +} |