summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-05-11 21:00:19 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-05-11 21:00:19 +0000
commitc09d87e9dd0b2a305b72a929513c46e5cb63bed7 (patch)
tree5fa6e44533151a4be18fa99d100311ea6f6f98b5 /sys-kernel/linux-docs
parentAdded blocker on freealut to 20050504 versions of openal since they include a... (diff)
downloadhistorical-c09d87e9dd0b2a305b72a929513c46e5cb63bed7.tar.gz
historical-c09d87e9dd0b2a305b72a929513c46e5cb63bed7.tar.bz2
historical-c09d87e9dd0b2a305b72a929513c46e5cb63bed7.zip
Initial versions of split-out Linux kernel documentation (man pages, HTML docs). Will eventually fix bug #131648.
Package-Manager: portage-2203-svn
Diffstat (limited to 'sys-kernel/linux-docs')
-rw-r--r--sys-kernel/linux-docs/ChangeLog12
-rw-r--r--sys-kernel/linux-docs/Manifest6
-rw-r--r--sys-kernel/linux-docs/linux-docs-2.4.32.ebuild54
-rw-r--r--sys-kernel/linux-docs/linux-docs-2.6.16.ebuild56
-rw-r--r--sys-kernel/linux-docs/metadata.xml9
5 files changed, 137 insertions, 0 deletions
diff --git a/sys-kernel/linux-docs/ChangeLog b/sys-kernel/linux-docs/ChangeLog
new file mode 100644
index 000000000000..e156430195d1
--- /dev/null
+++ b/sys-kernel/linux-docs/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sys-kernel/linux-docs
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/ChangeLog,v 1.1 2006/05/11 21:00:19 brix Exp $
+
+*linux-docs-2.6.16 (11 May 2006)
+*linux-docs-2.4.32 (11 May 2006)
+
+ 11 May 2006; Henrik Brix Andersen <brix@gentoo.org> +metadata.xml,
+ +linux-docs-2.4.32.ebuild, +linux-docs-2.6.16.ebuild:
+ Initial versions of split-out Linux kernel documentation (man pages, HTML
+ docs). Will eventually fix bug #131648.
+
diff --git a/sys-kernel/linux-docs/Manifest b/sys-kernel/linux-docs/Manifest
new file mode 100644
index 000000000000..c4cce2faee5e
--- /dev/null
+++ b/sys-kernel/linux-docs/Manifest
@@ -0,0 +1,6 @@
+MD5 bfef851291d767b92b6f0695572dffc0 ChangeLog 524
+MD5 9846e3cd64adb4374ac39cbb80fa2a5f files/digest-linux-docs-2.4.32 67
+MD5 7c1bb4e8bf5a821f43d924cefa7db8b5 files/digest-linux-docs-2.6.16 67
+MD5 5d3bf95dcb8301e3b8261b0abe98a46c linux-docs-2.4.32.ebuild 1108
+MD5 19812903fcc596121c94d162ea617d02 linux-docs-2.6.16.ebuild 1178
+MD5 93f5bba7043e57c7092196362f2b494f metadata.xml 255
diff --git a/sys-kernel/linux-docs/linux-docs-2.4.32.ebuild b/sys-kernel/linux-docs/linux-docs-2.4.32.ebuild
new file mode 100644
index 000000000000..8ca957455d4d
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-2.4.32.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/linux-docs-2.4.32.ebuild,v 1.1 2006/05/11 21:00:19 brix Exp $
+
+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/pub/linux/kernel/v2.4/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="html"
+DEPEND="app-text/docbook-sgml-utils
+ dev-lang/perl
+ sys-apps/sed
+ html? ( media-gfx/xfig )"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i \
+ -e "s:db2:docbook2:g" \
+ -e "s:docbook2html \$<:docbook2html -o \$@ \$<:" \
+ ${S}/Documentation/DocBook/Makefile
+}
+
+src_compile() {
+ local ARCH=$(tc-arch-kernel)
+
+ make mandocs || die "make mandocs failed"
+
+ if use html; then
+ make htmldocs || die "make htmldocs failed"
+ fi
+}
+
+src_install() {
+ local file
+
+ doman Documentation/man/*
+
+ if use html; then
+ for file in Documentation/DocBook/*.sgml; do
+ dohtml -r ${file/\.sgml/}
+ done
+ fi
+}
diff --git a/sys-kernel/linux-docs/linux-docs-2.6.16.ebuild b/sys-kernel/linux-docs/linux-docs-2.6.16.ebuild
new file mode 100644
index 000000000000..98dde1cb24f4
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-2.6.16.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/linux-docs-2.6.16.ebuild,v 1.1 2006/05/11 21:00:19 brix Exp $
+
+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/pub/linux/kernel/v2.6/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="html"
+DEPEND="app-text/docbook-sgml-utils
+ app-text/xmlto
+ sys-apps/sed"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i \
+ -e "s:db2:docbook2:g" \
+ -e "s:/usr/local/man:${D}/usr/share/man:g" \
+ ${S}/Documentation/DocBook/Makefile
+}
+
+src_compile() {
+ local ARCH=$(tc-arch-kernel)
+ unset KBUILD_OUTPUT
+
+ make mandocs || die "make mandocs failed"
+
+ if use html; then
+ make 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
+}
diff --git a/sys-kernel/linux-docs/metadata.xml b/sys-kernel/linux-docs/metadata.xml
new file mode 100644
index 000000000000..a7e8c888f719
--- /dev/null
+++ b/sys-kernel/linux-docs/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>kernel</herd>
+<maintainer>
+ <email>brix@gentoo.org</email>
+ <name>Henrik Brix Andersen</name>
+</maintainer>
+</pkgmetadata>