summaryrefslogtreecommitdiff
path: root/sys-kernel/dkms/dkms-2.3-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-19 07:23:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-19 07:23:59 +0100
commitd0505428de994ab5991bfcf5a8f9c5ae8ee99fb1 (patch)
tree558448f5ae3fc60af719f0b306c49bda947147b9 /sys-kernel/dkms/dkms-2.3-r2.ebuild
parente36e78cf585efbef42088d41812e9d7c3916d2b5 (diff)
sys-kernel/dkms : EAPI bump
Diffstat (limited to 'sys-kernel/dkms/dkms-2.3-r2.ebuild')
-rw-r--r--sys-kernel/dkms/dkms-2.3-r2.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-kernel/dkms/dkms-2.3-r2.ebuild b/sys-kernel/dkms/dkms-2.3-r2.ebuild
new file mode 100644
index 00000000..ae842c9b
--- /dev/null
+++ b/sys-kernel/dkms/dkms-2.3-r2.ebuild
@@ -0,0 +1,26 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils bash-completion-r1
+
+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"
+
+src_prepare() {
+ epatch ${FILESDIR}/${P}-dont-touch-configs.patch
+ epatch ${FILESDIR}/${P}-gentoo-functions.patch
+ epatch ${FILESDIR}/${P}-systemd-service-fix.patch
+ epatch ${FILESDIR}/${P}-redcore-makefile.patch
+}
+
+src_install() {
+ emake DESTDIR=${D} install
+ newinitd "${FILESDIR}"/dkms.initd dkms
+}