summaryrefslogtreecommitdiff
path: root/sys-kernel/dkms/dkms-2.3-r4.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-19 10:29:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-19 10:29:59 +0100
commitf13511e2eb308bd7cad5c842c789bcede306169f (patch)
tree4d6e457abeb7c8db33e13ba29189faab62761a4e /sys-kernel/dkms/dkms-2.3-r4.ebuild
parent04d36210da1c2dfb695945c7cb603fa06e466f3f (diff)
sys-kernel/dkms : EAPI bump
Diffstat (limited to 'sys-kernel/dkms/dkms-2.3-r4.ebuild')
-rw-r--r--sys-kernel/dkms/dkms-2.3-r4.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-kernel/dkms/dkms-2.3-r4.ebuild b/sys-kernel/dkms/dkms-2.3-r4.ebuild
new file mode 100644
index 00000000..b03b40ce
--- /dev/null
+++ b/sys-kernel/dkms/dkms-2.3-r4.ebuild
@@ -0,0 +1,24 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Dynamic Kernel Module Support"
+SRC_URI="https://github.com/dell/dkms/archive/2.3.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/dell/dkms"
+LICENSE="GPL-2"
+DEPEND=""
+RDEPEND="sys-apps/gentoo-functions"
+KEYWORDS="amd64 arm64"
+SLOT="0"
+
+PATCHES=(
+ "${FILESDIR}"/"${P}"-dont-touch-configs.patch
+ "${FILESDIR}"/"${P}"-gentoo-functions.patch
+ "${FILESDIR}"/"${P}"-systemd-service-fix.patch
+ "${FILESDIR}"/"${P}"-redcore-makefile.patch
+)
+
+src_install() {
+ emake DESTDIR=${D} install
+ newinitd "${FILESDIR}"/dkms.initd dkms
+}