sys-kernel/dkms: add 3.0.11

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
Andrew Ammerlaan
2023-09-04 13:12:32 +02:00
parent efa9fe9bbd
commit c47993bd2b
2 changed files with 53 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST dkms-2.8.4.tar.gz 104625 BLAKE2B 0bd9c47d2a4bf313426832ec88bbda9bd58a482c691de145ff87ce05d47d473132f2a300e8d0e6e0609b6dcdd47f8f9e521a104ae19cfa8b1ba453fc6de7a412 SHA512 1b8b987b239db8cf00f367ee4f5faf13dc41b450f09fb046dc719e51d6a762d6b700bf41156d8011c3ea7e139064119d6717b60c1bf7fa0a75ea1fc63887baa5
DIST dkms-3.0.10.tar.gz 89602 BLAKE2B 43bc7ee7b788ac334bff94825f98edfc137be90b4f78f6a351d899c3fbc8961eaffaf3e73310eb24414790f46197e8409608a08a5003f515f162d6787ee7be09 SHA512 b271453497a004177137e972cb45cacb2dd3ac124a1fd2526218cf690f5ce77250195e73b6f9c75de4661a718d928e546bd85770ab98c2fd9af44fe777492ad7
DIST dkms-3.0.11.tar.gz 93521 BLAKE2B 48ad7da1e08015761c7f830227c66bbb7fbe903312ac97ad351f995da28288c250f207b23273e254be656fd33bc19fbbb0e12d5555748db3d75f555ae729716c SHA512 28f4abbf6827626045e6e8f9d6e9c7b45b019b5d671499224d1247e04c91acef99c8a93e440f5756ec53f20e91e2a129e0555a981be98b2fdb8fc0a0d91dd66d

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-info
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"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="systemd"
CONFIG_CHECK="~MODULES"
RDEPEND="
sys-apps/kmod
virtual/linux-sources
systemd? ( sys-apps/systemd )
"
# Error: unknown Linux distribution ID gentoo
RESTRICT="test"
src_prepare() {
# Install uncompressed version of man files
sed -i -e '\_gzip -9 $(MAN)/dkms.8_d' Makefile || die
default
}
src_compile() {
# Nothing to do here
return
}
src_test() {
./run_test.sh || die "Tests failed"
}
src_install() {
if use systemd; then
emake install-redhat DESTDIR="${ED}" LIBDIR="${ED}"/usr/$(get_libdir)/
else
emake install DESTDIR="${ED}" LIBDIR="${ED}"/usr/$(get_libdir)/
fi
einstalldocs
keepdir /var/lib/dkms
}