diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-05-21 12:27:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-05-21 12:27:40 +0100 |
commit | 95cc91a8e2f55db5432e88a3c49cc11df836aed1 (patch) | |
tree | 4a242430e7eedabb8d1650e0c80ae4921707cc7a /sys-kernel/dkms/dkms-2.3.ebuild | |
parent | 5075bf447b7a6bf529fd6c81671c8e9e172d04f2 (diff) |
sys-kernel/dkms : new version v2.3, fix upstream provided systemd.service, add openrc support, don't mess with config files
Diffstat (limited to 'sys-kernel/dkms/dkms-2.3.ebuild')
-rw-r--r-- | sys-kernel/dkms/dkms-2.3.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys-kernel/dkms/dkms-2.3.ebuild b/sys-kernel/dkms/dkms-2.3.ebuild new file mode 100644 index 00000000..938da7ad --- /dev/null +++ b/sys-kernel/dkms/dkms-2.3.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 +} |