diff options
author | Mike Pagano <mpagano@gentoo.org> | 2012-10-17 13:24:13 +0000 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2012-10-17 13:24:13 +0000 |
commit | b758a77deee2149669c79e0b81e67990ca966409 (patch) | |
tree | 286db99cfcb0a2928fcf8fb7c07e5c1cda0e9ee7 /sys-kernel/linux-docs | |
parent | force revbump, so no user is left with broken runtime deps (diff) | |
download | gentoo-2-b758a77deee2149669c79e0b81e67990ca966409.tar.gz gentoo-2-b758a77deee2149669c79e0b81e67990ca966409.tar.bz2 gentoo-2-b758a77deee2149669c79e0b81e67990ca966409.zip |
Version bump
(Portage version: 2.1.11.9/cvs/Linux i686)
Diffstat (limited to 'sys-kernel/linux-docs')
-rw-r--r-- | sys-kernel/linux-docs/ChangeLog | 7 | ||||
-rw-r--r-- | sys-kernel/linux-docs/linux-docs-3.6.2.ebuild | 62 |
2 files changed, 68 insertions, 1 deletions
diff --git a/sys-kernel/linux-docs/ChangeLog b/sys-kernel/linux-docs/ChangeLog index 5d4f33d17eb8..05229573e982 100644 --- a/sys-kernel/linux-docs/ChangeLog +++ b/sys-kernel/linux-docs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-kernel/linux-docs # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/ChangeLog,v 1.35 2012/09/29 17:05:52 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/ChangeLog,v 1.36 2012/10/17 13:24:13 mpagano Exp $ + +*linux-docs-3.6.2 (17 Oct 2012) + + 17 Oct 2012; Michael Pagano <mpagano@gentoo.org> +linux-docs-3.6.2.ebuild: + Version bump 29 Sep 2012; Raúl Porcel <armin76@gentoo.org> linux-docs-3.4.1.ebuild: alpha/ia64/m68k/s390/sh/sparc stable wrt #429219 diff --git a/sys-kernel/linux-docs/linux-docs-3.6.2.ebuild b/sys-kernel/linux-docs/linux-docs-3.6.2.ebuild new file mode 100644 index 000000000000..ac49fb163a0a --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-3.6.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/linux-docs-3.6.2.ebuild,v 1.1 2012/10/17 13:24:13 mpagano Exp $ + +EAPI=3 +inherit toolchain-funcs + +MY_P=linux-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Developer documentation generated from the Linux kernel" +HOMEPAGE="http://www.kernel.org/" +SRC_URI="mirror://kernel/linux/kernel/v3.x/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~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 + for file in Documentation/DocBook/*.html; do + dohtml -r ${file/\.html/} + done + fi +} |