summaryrefslogtreecommitdiff
path: root/sys-kernel/dkms/dkms-2.3-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-05-21 15:45:36 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-05-21 15:45:36 +0100
commitb2ea57ff35cc35f5704a204abe4f7160bc11c0f2 (patch)
tree2f89ca26deb444fbfdd9398568b9243e3190c3dc /sys-kernel/dkms/dkms-2.3-r1.ebuild
parent866847a0617642ce45c3aabdbbc029e70322a4cd (diff)
sys-kernel/dkms - drop old version
Diffstat (limited to 'sys-kernel/dkms/dkms-2.3-r1.ebuild')
-rw-r--r--sys-kernel/dkms/dkms-2.3-r1.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-kernel/dkms/dkms-2.3-r1.ebuild b/sys-kernel/dkms/dkms-2.3-r1.ebuild
new file mode 100644
index 00000000..938da7ad
--- /dev/null
+++ b/sys-kernel/dkms/dkms-2.3-r1.ebuild
@@ -0,0 +1,26 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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"
+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
+}