mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-kernel/dkms: add 3.0.13
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST dkms-3.0.12.tar.gz 88241 BLAKE2B 672105074b7899080a2468d347e1fdd60bb6be92852746bccff69565b4f49631568764d265495610d3aebf8df1e0c717daa123d6c3be8752d417ed1c633942e0 SHA512 81646f39c458039958159f519d4dcdfb5dcaa303f7c9898310d13e36c38f30ce57efcc2f2fc98a18ec3d232fd3c50e7a2d859ee42a023e62475e7dad070029d7
|
||||
DIST dkms-3.0.13.tar.gz 92840 BLAKE2B ccd677b6e8074fd0ced23f0735817fc36364f4476f7d552af2417b33a4845652a0b0331d3a7642fb5149178674448b479f094fdf27babd64efbfea1491daf671 SHA512 6cf3866730ea92715092b50a1174026dda9a7fb1321796e7c887032ffefb5609c0f6cf59a60ff4d47b7ffee2dac331584073393e9e4e906eaa5a425fc8d22c02
|
||||
|
||||
55
sys-kernel/dkms/dkms-3.0.13.ebuild
Normal file
55
sys-kernel/dkms/dkms-3.0.13.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-info optfeature
|
||||
|
||||
DESCRIPTION="Dynamic Kernel Module Support"
|
||||
HOMEPAGE="https://github.com/dell/dkms"
|
||||
SRC_URI="https://github.com/dell/dkms/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
IUSE="systemd"
|
||||
|
||||
CONFIG_CHECK="~MODULES"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/kmod
|
||||
virtual/linux-sources
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
|
||||
# Can not work in the emerge sandbox
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
# Nothing to do here
|
||||
return
|
||||
}
|
||||
|
||||
src_test() {
|
||||
chmod +x dkms || die
|
||||
PATH="${PATH}:$(pwd)" ./run_test.sh || die "Tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use systemd; then
|
||||
emake install-redhat DESTDIR="${ED}" KCONF="/usr/lib/kernel"
|
||||
else
|
||||
emake install DESTDIR="${ED}" KCONF="/usr/lib/kernel"
|
||||
fi
|
||||
# Backwards compatibility with sys-kernel/installkernel[-systemd]
|
||||
dosym ../../../usr/lib/kernel/postinst.d/dkms /etc/kernel/postinst.d/dkms
|
||||
dosym ../../../usr/lib/kernel/prerm.d/dkms /etc/kernel/prerm.d/dkms
|
||||
einstalldocs
|
||||
keepdir /var/lib/dkms
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "automatically running \"dkms autoinstall\" on each kernel installation" \
|
||||
"sys-kernel/installkernel[systemd]"
|
||||
}
|
||||
Reference in New Issue
Block a user