llvmgold-4.ebuild 546 B

12345678910111213141516171819202122232425
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. DESCRIPTION="LLVMgold plugin symlink for autoloading"
  5. HOMEPAGE="http://llvm.org/"
  6. SRC_URI=""
  7. LICENSE="public-domain"
  8. SLOT="0"
  9. KEYWORDS="~amd64 ~arm64 ~x86"
  10. IUSE=""
  11. RDEPEND="sys-devel/llvm:${PV}[gold]
  12. !sys-devel/llvm:0"
  13. S=${WORKDIR}
  14. src_install() {
  15. dodir "/usr/${CHOST}/binutils-bin/lib/bfd-plugins"
  16. dosym "../../../../lib/llvm/${PV}/$(get_libdir)/LLVMgold.so" \
  17. "/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so"
  18. }