summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-docs/linux-docs-5.10.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2020-12-16 00:00:18 +0000
committerLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2020-12-16 00:00:18 +0000
commitc16790af2c9b4cbc38e565d4311252193ff85484 (patch)
tree4f43ee770507dee235d6b4f9433d9f807781fcc8 /sys-kernel/linux-docs/linux-docs-5.10.0.ebuild
parentfddf516add4924cfe9d698f116342e30b27d67b8 (diff)
downloadbaldeagleos-repo-21.1.1.tar.gz
baldeagleos-repo-21.1.1.tar.xz
baldeagleos-repo-21.1.1.zip
Updating liguros repo21.1.1
Diffstat (limited to 'sys-kernel/linux-docs/linux-docs-5.10.0.ebuild')
-rw-r--r--sys-kernel/linux-docs/linux-docs-5.10.0.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-kernel/linux-docs/linux-docs-5.10.0.ebuild b/sys-kernel/linux-docs/linux-docs-5.10.0.ebuild
new file mode 100644
index 000000000000..2b1d4fcb3da2
--- /dev/null
+++ b/sys-kernel/linux-docs/linux-docs-5.10.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit 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=""
+BDEPEND="media-libs/fontconfig"
+DEPEND="dev-python/sphinx"
+RDEPEND=""
+
+src_compile() {
+ local ARCH=$(tc-arch-kernel)
+ unset KBUILD_OUTPUT
+ emake htmldocs
+}
+
+src_install() {
+ HTML_DOCS=( Documentation/output/. )
+ einstalldocs
+}