summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2008-05-08 12:24:12 +0000
committerMike Pagano <mpagano@gentoo.org>2008-05-08 12:24:12 +0000
commit19dd276327eacc038fa68eda1cd03bf991484258 (patch)
treef35810993ae1c11de7369358ecb084c05704f871 /sys-kernel/linux-docs
parentPatched to detect writes to a broken pipe (bug #204227) (diff)
downloadgentoo-2-19dd276327eacc038fa68eda1cd03bf991484258.tar.gz
gentoo-2-19dd276327eacc038fa68eda1cd03bf991484258.tar.bz2
gentoo-2-19dd276327eacc038fa68eda1cd03bf991484258.zip
Version bump and qa cleanups
(Portage version: 2.1.5_rc7)
Diffstat (limited to 'sys-kernel/linux-docs')
-rw-r--r--sys-kernel/linux-docs/ChangeLog11
-rw-r--r--sys-kernel/linux-docs/linux-docs-2.4.32.ebuild6
-rw-r--r--sys-kernel/linux-docs/linux-docs-2.6.16.ebuild6
-rw-r--r--sys-kernel/linux-docs/linux-docs-2.6.25.2.ebuild57
4 files changed, 73 insertions, 7 deletions
diff --git a/sys-kernel/linux-docs/ChangeLog b/sys-kernel/linux-docs/ChangeLog
index 02d7709a9f61..65f935de5ac5 100644
--- a/sys-kernel/linux-docs/ChangeLog
+++ b/sys-kernel/linux-docs/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-kernel/linux-docs
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/ChangeLog,v 1.15 2008/02/17 02:21:25 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/ChangeLog,v 1.16 2008/05/08 12:24:12 mpagano Exp $
+
+ 08 May 2008; Mike Pagano <mpagano@gentoo.org> linux-docs-2.4.32.ebuild,
+ linux-docs-2.6.16.ebuild, +linux-docs-2.6.25.2.ebuild:
+ Version bump and qa cleanups
+
+*linux-docs-2.6.25.2 (08 May 2008)
+
+ 08 May 2008; Mike Pagano <mpagano@gentoo.org> +linux-docs-2.6.25.2.ebuild:
+ Version bump
*linux-docs-2.6.24.2 (17 Feb 2008)
diff --git a/sys-kernel/linux-docs/linux-docs-2.4.32.ebuild b/sys-kernel/linux-docs/linux-docs-2.4.32.ebuild
index 47e2b9dd0ced..709c7c0c152b 100644
--- a/sys-kernel/linux-docs/linux-docs-2.4.32.ebuild
+++ b/sys-kernel/linux-docs/linux-docs-2.4.32.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 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.6 2006/08/02 21:38:19 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/linux-docs-2.4.32.ebuild,v 1.7 2008/05/08 12:24:12 mpagano Exp $
inherit toolchain-funcs
@@ -28,7 +28,7 @@ src_unpack() {
sed -i \
-e "s:db2:docbook2:g" \
-e "s:docbook2html \$<:docbook2html -o \$@ \$<:" \
- ${S}/Documentation/DocBook/Makefile
+ "${S}"/Documentation/DocBook/Makefile
}
src_compile() {
diff --git a/sys-kernel/linux-docs/linux-docs-2.6.16.ebuild b/sys-kernel/linux-docs/linux-docs-2.6.16.ebuild
index 61f9042abfc8..14a046ea04fc 100644
--- a/sys-kernel/linux-docs/linux-docs-2.6.16.ebuild
+++ b/sys-kernel/linux-docs/linux-docs-2.6.16.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 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.13 2006/11/13 00:03:23 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-docs/linux-docs-2.6.16.ebuild,v 1.14 2008/05/08 12:24:12 mpagano Exp $
inherit toolchain-funcs
@@ -27,7 +27,7 @@ src_unpack() {
sed -i \
-e "s:db2:docbook2:g" \
-e "s:/usr/local/man:${D}/usr/share/man:g" \
- ${S}/Documentation/DocBook/Makefile
+ "${S}"/Documentation/DocBook/Makefile
}
src_compile() {
diff --git a/sys-kernel/linux-docs/linux-docs-2.6.25.2.ebuild b/sys-kernel/linux-docs/linux-docs-2.6.25.2.ebuild
new file mode 100644
index 000000000000..050e32aa5ea6
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-2.6.25.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 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.25.2.ebuild,v 1.1 2008/05/08 12:24:12 mpagano 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/linux/kernel/v2.6/${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_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
+}