diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-25 15:54:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-25 15:54:35 +0100 |
commit | d0bb3151c569ab6e40c84c177f43bff3c7ce4780 (patch) | |
tree | 0c543a2f299a437229bcd5db5c62697a41243689 /sys-kernel/linux-docs/linux-docs-6.1.47.ebuild | |
parent | 601320c16301dbd7e8830e8c2ab7d6aef5b65abe (diff) |
gentoo auto-resync : 25:08:2023 - 15:54:35
Diffstat (limited to 'sys-kernel/linux-docs/linux-docs-6.1.47.ebuild')
-rw-r--r-- | sys-kernel/linux-docs/linux-docs-6.1.47.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-kernel/linux-docs/linux-docs-6.1.47.ebuild b/sys-kernel/linux-docs/linux-docs-6.1.47.ebuild new file mode 100644 index 000000000000..e0ee7931467d --- /dev/null +++ b/sys-kernel/linux-docs/linux-docs-6.1.47.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 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_P=linux-${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/v6.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-7.2.3 + 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 +} |