summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-01-03 21:54:04 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-03 23:21:36 +0100
commit50f8e46c8bdeee75585b602862b8dbdecb2ddf83 (patch)
tree990b7c48f1d093f44869e7b9966d4a6409f55d78 /sys-devel/llvmgold
parentsys-devel/llvm: Update slot for master to 7 (diff)
downloadgentoo-50f8e46c8bdeee75585b602862b8dbdecb2ddf83.tar.gz
gentoo-50f8e46c8bdeee75585b602862b8dbdecb2ddf83.tar.bz2
gentoo-50f8e46c8bdeee75585b602862b8dbdecb2ddf83.zip
sys-devel/llvmgold: Add v7 for git master
Diffstat (limited to 'sys-devel/llvmgold')
-rw-r--r--sys-devel/llvmgold/llvmgold-7.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-devel/llvmgold/llvmgold-7.ebuild b/sys-devel/llvmgold/llvmgold-7.ebuild
new file mode 100644
index 000000000000..aa147f6824c1
--- /dev/null
+++ b/sys-devel/llvmgold/llvmgold-7.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2018 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"
+}