summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-04-06 09:53:31 +0200
committerMichał Górny <mgorny@gentoo.org>2017-04-06 14:47:56 +0200
commitb2262062b0ebc9e7d073ded2353ee72f7b367ac0 (patch)
tree3c6e6d26bdb8fb0dd59dafa1016c7451000ce540 /sys-devel
parentsys-devel/clang: Fix incorrect +x on scan-build.1 manpage (diff)
downloadgentoo-b2262062b0ebc9e7d073ded2353ee72f7b367ac0.tar.gz
gentoo-b2262062b0ebc9e7d073ded2353ee72f7b367ac0.tar.bz2
gentoo-b2262062b0ebc9e7d073ded2353ee72f7b367ac0.zip
sys-devel/llvm: Include prebuilt manpages for 4.0.0 w/ USE=-doc
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/llvm/Manifest1
-rw-r--r--sys-devel/llvm/llvm-4.0.0-r1.ebuild10
2 files changed, 10 insertions, 1 deletions
diff --git a/sys-devel/llvm/Manifest b/sys-devel/llvm/Manifest
index 7766ec3864bc..15ae027fa756 100644
--- a/sys-devel/llvm/Manifest
+++ b/sys-devel/llvm/Manifest
@@ -36,3 +36,4 @@ DIST llvm-3.9.0.src.tar.xz 18235716 SHA256 66c73179da42cee1386371641241f79ded250
DIST llvm-3.9.0_rc3-manpages.tar.bz2 80007 SHA256 991f5238d23c0aee2fd303d1adecd6045c42ed066f42f0d58f62c3a25c197140 SHA512 f96c340021de3f096ec3ad7d51a6af2c7a84974122d1df15729a39d4f9d65452f063a85ab38adb064288dc14220d9cc679b31ee19b48424d3d7cde621ff37597 WHIRLPOOL d3f24a2faaa5aa909519373532262c342acf517048ac543f303b6ddb539f5ece876a338c8efc445f4ada6f723a4e65e35bd5f2f9b4f52ef96ef832000259ab20
DIST llvm-3.9.1.src.tar.xz 18130436 SHA256 1fd90354b9cf19232e8f168faf2220e79be555df3aa743242700879e8fd329ee SHA512 50cbe8ee911080f586e77861c442348701bd02e2de0c090c54c34f82ac275ecfcd712af0f41e387c33b4a6057778a4258a27554292fe68ab4af3fd9dd6d90683 WHIRLPOOL 1cd1a25befcb178bec4a4aace4367167f3838d32edbe9db9de8c6e558c01c1fcf123f6d6f80b7ec9ff32b3d6dcf2de2f4eb4201d417c3d17a5c8a69934832903
DIST llvm-4.0.0.src.tar.xz 21016340 SHA256 8d10511df96e73b8ff9e7abbfb4d4d432edbdbe965f1f4f07afaf370b8a533be SHA512 cf681f0626ef6d568d951cdc3e143471a1d7715a0ba11e52aa273cf5d8d421e1357ef2645cc85879eaefcd577e99e74d07b01566825b3d0461171ef2cbfc7704 WHIRLPOOL 9783e8f47306c1deb2e114d4b46a7db9b0260b4965076345c88765413c5fc8e73fab5f88ae4903adbdea31406022948b16d32ae47d98f5def074509d5d794579
+DIST llvm-manpages-4.0.0.tar.bz2 84861 SHA256 4676b3a18e95ddba19e868bfac0753154be2b57bc0d557f90270e4d2b0913d37 SHA512 7a04ffb607203aca099c816fe6e143779062610935f501786bd64bad6001741fb7a55adebe4e52e0611aa70fa04b22e1a7cab7b3da9dc2ed996fd0baf1ae8916 WHIRLPOOL e2ce15c26008995d71b830d74c5e6ca7dd862ed8208168facc0be6e7f855e5f59b143057ec2bbbaa70ed54dc77ad31279239886d25fe67c0853a9dee7baff31b
diff --git a/sys-devel/llvm/llvm-4.0.0-r1.ebuild b/sys-devel/llvm/llvm-4.0.0-r1.ebuild
index c9745dcdf6c7..db35674169dc 100644
--- a/sys-devel/llvm/llvm-4.0.0-r1.ebuild
+++ b/sys-devel/llvm/llvm-4.0.0-r1.ebuild
@@ -13,7 +13,8 @@ inherit check-reqs cmake-utils flag-o-matic \
DESCRIPTION="Low Level Virtual Machine"
HOMEPAGE="http://llvm.org/"
-SRC_URI="http://releases.llvm.org/${PV/_//}/${P/_/}.src.tar.xz"
+SRC_URI="http://releases.llvm.org/${PV/_//}/${P/_/}.src.tar.xz
+ !doc? ( https://dev.gentoo.org/~mgorny/dist/llvm-manpages-${PV}.tar.bz2 )"
# Keep in sync with CMakeLists.txt
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
@@ -263,5 +264,12 @@ multilib_src_install_all() {
_EOF_
doenvd "${T}/10llvm-${revord}"
+ # install pre-generated manpages
+ if ! use doc; then
+ # (doman does not support custom paths)
+ insinto "/usr/lib/llvm/${SLOT}/share/man/man1"
+ doins "${WORKDIR}/llvm-manpages-${PV}/llvm"/*.1
+ fi
+
docompress "/usr/lib/llvm/${SLOT}/share/man"
}