From c8ef9857df6ab3d11d25e9641d4a045bee37c0cd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Sep 2023 17:50:33 +0100 Subject: sys-kernel/dkms : downgrade EAPI --- sys-kernel/dkms/dkms-2.3-r3.ebuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sys-kernel/dkms/dkms-2.3-r3.ebuild (limited to 'sys-kernel/dkms/dkms-2.3-r3.ebuild') diff --git a/sys-kernel/dkms/dkms-2.3-r3.ebuild b/sys-kernel/dkms/dkms-2.3-r3.ebuild new file mode 100644 index 00000000..c5c99069 --- /dev/null +++ b/sys-kernel/dkms/dkms-2.3-r3.ebuild @@ -0,0 +1,26 @@ +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +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 +} -- cgit v1.2.3