1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Standard kernel module utilities for linux-2.4 and older"
7 HOMEPAGE="https://www.kernel.org/pub/linux/utils/kernel/modutils/"
8 SRC_URI="https://www.kernel.org/pub/linux/utils/kernel/${PN}/v2.4/${P}.tar.bz2"
12 KEYWORDS="~alpha amd64 arm hppa ~ia64 m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
14 RDEPEND="!sys-apps/module-init-tools
18 "${FILESDIR}"/${P}-gcc.patch
19 "${FILESDIR}"/${P}-flex.patch
20 "${FILESDIR}"/${P}-no-nested-function.patch
27 --enable-insmod-static \
32 einstall prefix="${D}"
33 rm -r "${ED}"/usr/share/man/man2 || die
34 dodoc CREDITS ChangeLog NEWS README TODO