mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
sys-kernel/dkms: add 3.1.1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST dkms-3.0.13.tar.gz 92840 BLAKE2B ccd677b6e8074fd0ced23f0735817fc36364f4476f7d552af2417b33a4845652a0b0331d3a7642fb5149178674448b479f094fdf27babd64efbfea1491daf671 SHA512 6cf3866730ea92715092b50a1174026dda9a7fb1321796e7c887032ffefb5609c0f6cf59a60ff4d47b7ffee2dac331584073393e9e4e906eaa5a425fc8d22c02
|
||||
DIST dkms-3.1.0.tar.gz 92614 BLAKE2B 555c2e4d340bf99bf035706186c5f68e8476881a102e14f7f5890122b7193fc634052fdfea4f3d3ce3dad7c8185b5643ed87c4e8e27262b90b3bf964f1ba84bd SHA512 57f9716b1a812b4c265617a27bfca6e559aea66ffb4676cb02f39de1c4670f6c2f8e6457725adc5e43b431579117dac3e22496d35ded57647984c9ba5f5e25e4
|
||||
DIST dkms-3.1.1.tar.gz 92491 BLAKE2B c0dc97a17661430a301369e284ddfa73c398b53242cabaa3e4421bce78daa6e422fe2209a937a8294ab7f5b455b9acd32d03240efe12bc4cbe29d88f97a8d3ae SHA512 b39a68de9aba5fad9069ec6bb381359a1706850d8a9681d916fd979717f0c0cbb89f78fae107b0374794836697939b33f3bcf9da2e8901dfa72b00b0b85c9ef3
|
||||
|
||||
53
sys-kernel/dkms/dkms-3.1.1.ebuild
Normal file
53
sys-kernel/dkms/dkms-3.1.1.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# 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"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/kmod
|
||||
virtual/linux-sources
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
|
||||
# Cannot work in the emerge sandbox
|
||||
RESTRICT="test"
|
||||
|
||||
CONFIG_CHECK="~MODULES"
|
||||
|
||||
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
|
||||
|
||||
einstalldocs
|
||||
keepdir /var/lib/dkms
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "automatically running \"dkms autoinstall\" on each kernel installation" \
|
||||
sys-kernel/installkernel
|
||||
}
|
||||
Reference in New Issue
Block a user