summaryrefslogtreecommitdiff
path: root/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-10 02:46:13 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-10 02:46:13 +0000
commitd362090620ee2c812ad94af0a94e9f335ee8ed62 (patch)
tree62b5eded82f995d7b8080ef2a350d8060a4844b7 /sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87.ebuild
parent02aaac86e9ea9ba142f6fa6319f99a3fcbb79e9d (diff)
x11-drivers/nvidia-drivers : apply the same patches as dkms package; sys-kernel/nvidia-drivers-dkms : upgrade to EAPI=6
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87.ebuild')
-rw-r--r--sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87.ebuild50
1 files changed, 0 insertions, 50 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87.ebuild b/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87.ebuild
deleted file mode 100644
index 63254a53..00000000
--- a/sys-kernel/nvidia-drivers-dkms/nvidia-drivers-dkms-390.87.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils
-
-NV_URI="http://us.download.nvidia.com/XFree86/"
-AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${PV}"
-
-DESCRIPTION="NVIDIA driver sources for linux"
-HOMEPAGE="http://www.nvidia.com/"
-SRC_URI="amd64? ( ${NV_URI}Linux-x86_64/${PV}/${AMD64_NV_PACKAGE}.run )"
-
-LICENSE="GPL-2 NVIDIA-r2"
-SLOT="0/${PV}"
-KEYWORDS="amd64"
-IUSE=""
-
-DEPEND="sys-kernel/dkms"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${AMD64_NV_PACKAGE}"
-
-src_unpack() {
- sh ${DISTDIR}/${AMD64_NV_PACKAGE}.run --extract-only
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/kernel-4.16.patch
- epatch "${FILESDIR}"/kernel-4.19.patch
- epatch "${FILESDIR}"/"${P}"-conf.patch
- epatch "${FILESDIR}"/"${PV}"-vmf_insert_pfn.patch
- epatch "${FILESDIR}"/"${PV}"-ipmi_user.patch
-}
-
-src_install() {
- dodir usr/src/${P}
- insinto usr/src/${P}
- doins -r "${S}"/kernel/*
-}
-
-pkg_postinst() {
- dkms add ${PN}/${PV}
-}
-
-pkg_prerm() {
- dkms remove ${PN}/${PV} --all
-}