diff options
author | Mike Pagano <mpagano@gentoo.org> | 2022-07-08 13:24:30 -0400 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2022-07-08 13:24:30 -0400 |
commit | 7b78e50bceac584ba190925e758780016e46fc02 (patch) | |
tree | c76611560c75bff47667ffe6d3448f8d10eeb4d2 /sys-kernel/linux-docs | |
parent | sys-kernel/linux-firmware: drop 20210629 (diff) | |
download | gentoo-7b78e50bceac584ba190925e758780016e46fc02.tar.gz gentoo-7b78e50bceac584ba190925e758780016e46fc02.tar.bz2 gentoo-7b78e50bceac584ba190925e758780016e46fc02.zip |
sys-kernel/linux-docs: add 5.15.53
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'sys-kernel/linux-docs')
-rw-r--r-- | sys-kernel/linux-docs/linux-docs-5.15.53.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-kernel/linux-docs/linux-docs-5.15.53.ebuild b/sys-kernel/linux-docs/linux-docs-5.15.53.ebuild new file mode 100644 index 000000000000..d3b98d3f984a --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-5.15.53.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9,10,11} ) +inherit linux-info python-any-r1 toolchain-funcs + +MY_PV="$(ver_cut 1-2)" +MY_P=linux-${MY_PV} + +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Developer documentation generated from the Linux kernel" +HOMEPAGE="https://www.kernel.org/" +SRC_URI="https://www.kernel.org/pub/linux/kernel/v5.x/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86" + +IUSE="graphviz" + +DEPEND="" +RDEPEND="graphviz? ( >=media-gfx/graphviz-5.0.0 )" +BDEPEND="${PYTHON_DEPS} + dev-python/sphinx + dev-python/sphinx_rtd_theme + media-libs/fontconfig" + +src_prepare() { + default + # Fix the Python shebangs. + python_fix_shebang "${S}/Documentation/sphinx/" +} + +src_compile() { + local ARCH="$(tc-arch-kernel)" + unset KBUILD_OUTPUT + HTML_DOCS=( Documentation/output/. ) + emake htmldocs +} + +src_install() { + einstalldocs +} |