diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-05-21 15:45:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-05-21 15:45:36 +0100 |
commit | b2ea57ff35cc35f5704a204abe4f7160bc11c0f2 (patch) | |
tree | 2f89ca26deb444fbfdd9398568b9243e3190c3dc /sys-kernel/dkms/dkms-2.3-r1.ebuild | |
parent | 866847a0617642ce45c3aabdbbc029e70322a4cd (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.ebuild | 26 |
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 +} |