sys-kernel/linux-docs: Linux documentation for patch version 4.2.5

Package-Manager: portage-2.2.20.1
This commit is contained in:
Mike Pagano
2015-11-05 11:20:35 -05:00
parent eb0a0187bf
commit 2848655ca3
2 changed files with 66 additions and 0 deletions
+1
View File
@@ -4,4 +4,5 @@ DIST linux-3.14.22.tar.xz 78451580 SHA256 77a0c7a41b1fc4232a959c539e48f98071769c
DIST linux-3.16.6.tar.xz 80524980 SHA256 31e9dcffd79933040b8a91d36ac1d75fa4ad554656665c3d9c8fbd9fa73006f2 SHA512 ef850b73d28f3432d55389a251bf4244c464af52ff02ed87a5707ff4467932b7b8f12182017f73e73671ae893b44e17e4f4414b023848b8ba4869b1cd3ac6086 WHIRLPOOL a23c1503bdaf3ffe2bc1ea2351d2a0612d20f6d144d5a2d2595fc051ac2292da84d91053c64f4391b91bcc46edf0fe0bee49329ff8ca70beafc04e50e4c0571b
DIST linux-3.4.104.tar.xz 67176948 SHA256 8bf42d8befdd61a296546dfb626eca7c108b7c3eb0c284f4bd4273c628e1c275 SHA512 a8d86b0fa9bbb602262f8e4155870a5e33224597030d6b6777480ea81127564d9bf94389d8adb59c8e9cec2f586f59031968d33ec3b6b82c10e13924c303872b WHIRLPOOL 95cb16ceab4899689145385c5acbe4cf46682e9f5258dc99b6b890347c06aba903858a0fd98d9d34a264a9db46c54e9fa6da0821bb33bd3a2a3fb6a82ba7f451
DIST linux-4.1.4.tar.xz 83015496 SHA256 3ee2f2bdcb8ecf729fc7ed0545a6a2292f2853bd0eb259bc4124265a6ad4909f SHA512 a87b9692fe6f17c562c60a82640d26278ec6c6ce90c433b184162f216733e6a228ebb5a5d167e787bb260dcf90edc99413cf0e282744ed682539b171b1e616c3 WHIRLPOOL 666ed8c4cde164dd20264d49b4b3800a599ac020563c8181e5265639efe82406cb09663c86c83c228bdfc5d03b0364e058ac365c490cc0e066c49d42b0821967
DIST linux-4.2.5.tar.xz 85538096 SHA256 7c43bb038ddf7396b998fb802b1453f68035cba2dcadeb507f54520bbe533187 SHA512 323e08348e185346606db5cd10e0c8b038d68f480592b4a74dd5f9e4eda6853c2763f75b6c73fe91903bff67b29a5bb5dbbb36d60e56fd9764009f3a5881ab21 WHIRLPOOL b275baf06f87e6593d45bd889aed45fdfff63f1ef180d6332d95e790f60cf0bffce69ea792c45af22752347c58b2634a4a67e306da15af8390f37598c9ce326c
DIST linux-4.3.tar.xz 86920812 SHA256 4a622cc84b8a3c38d39bc17195b0c064d2b46945dfde0dae18f77b120bc9f3ae SHA512 d25812043850530fdcfdb48523523ee980747f3c2c1266149330844dae2cba0d056d4ddd9c0f129f570f5d1f6df5c20385aec5f6a2e0755edc1e2f5f93e2c6bc WHIRLPOOL e3f131443acc14d4f67bbd3f4e1c57af3d822c41c85a112564d54667a591c8619dce42327fd8166d30a2d7adfaf433c2e2134d4995c91c08f65ac0cc2190f935
@@ -0,0 +1,65 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit toolchain-funcs
MY_P=linux-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Developer documentation generated from the Linux kernel"
HOMEPAGE="https://www.kernel.org/"
SRC_URI="mirror://kernel/linux/kernel/v4.x/${MY_P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="html"
DEPEND="app-text/docbook-sgml-utils
app-text/xmlto
sys-apps/sed
~app-text/docbook-xml-dtd-4.1.2"
RDEPEND=""
src_prepare() {
sed -i \
-e "s:db2:docbook2:g" \
-e "s:/usr/local/man:${D}/usr/share/man:g" \
"${S}"/Documentation/DocBook/Makefile
# fix for parallel build as per bug #248337
sed -i \
-e "s:\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:+\$(Q)\$(MAKE) \$(build)=Documentation\/DocBook \$@:" \
"${S}"/Makefile
}
src_compile() {
local ARCH=$(tc-arch-kernel)
unset KBUILD_OUTPUT
emake mandocs || die "make mandocs failed"
if use html; then
emake htmldocs || die "make htmldocs failed"
fi
}
src_install() {
local file
local ARCH=$(tc-arch-kernel)
unset KBUILD_OUTPUT
make installmandocs || die "make installmandocs failed"
if use html; then
# There is no subdirectory named "index"
dohtml Documentation/DocBook/index.html
rm Documentation/DocBook/index.html
for file in Documentation/DocBook/*.html; do
dohtml -r ${file/\.html/}
done
fi
}