summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2002-03-14 16:57:25 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2002-03-14 16:57:25 +0000
commit2a59d30386ca1c8a2346704a500ea1aab7e0609f (patch)
tree75c8c58d043d197d170068ae1da8127aebe74b39 /media-video/nvidia-kernel
parentNew revision that makes sure symbols are _NOT_ stripped. (diff)
downloadgentoo-2-2a59d30386ca1c8a2346704a500ea1aab7e0609f.tar.gz
gentoo-2-2a59d30386ca1c8a2346704a500ea1aab7e0609f.tar.bz2
gentoo-2-2a59d30386ca1c8a2346704a500ea1aab7e0609f.zip
New revision that makes sure symbols aren't stripped.
Diffstat (limited to 'media-video/nvidia-kernel')
-rw-r--r--media-video/nvidia-kernel/files/digest-nvidia-kernel-1.0.28021
-rw-r--r--media-video/nvidia-kernel/nvidia-kernel-1.0.2802.ebuild64
2 files changed, 0 insertions, 65 deletions
diff --git a/media-video/nvidia-kernel/files/digest-nvidia-kernel-1.0.2802 b/media-video/nvidia-kernel/files/digest-nvidia-kernel-1.0.2802
deleted file mode 100644
index 9a66a0dbe022..000000000000
--- a/media-video/nvidia-kernel/files/digest-nvidia-kernel-1.0.2802
+++ /dev/null
@@ -1 +0,0 @@
-MD5 dfde8afcae05f38a39bd3c7856aca314 NVIDIA_kernel-1.0-2802.tar.gz 406101
diff --git a/media-video/nvidia-kernel/nvidia-kernel-1.0.2802.ebuild b/media-video/nvidia-kernel/nvidia-kernel-1.0.2802.ebuild
deleted file mode 100644
index 7ac1c03a14d9..000000000000
--- a/media-video/nvidia-kernel/nvidia-kernel-1.0.2802.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2 or later
-# Maintainer: Arcady Genkin <agenkin@thpoon.com>
-# /space/gentoo/cvsroot/gentoo-x86/skel.build,v 1.14 2002/02/01 19:50:13 gbevin Exp
-
-NV_V=1.0-2802
-
-DESCRIPTION="Linux kernel module for the NVIDIA's X driver"
-HOMEPAGE="http://www.nvidia.com/"
-
-DEPEND="sys-kernel/linux-sources"
-
-NV_PACKAGE=NVIDIA_kernel-${NV_V}
-SRC_URI="http://205.158.109.140/XFree86_40/${NV_V}/${NV_PACKAGE}.tar.gz"
-S="${WORKDIR}/${NV_PACKAGE}"
-
-nv_get_kernel_version () {
- # Determine the version of the kernel sources
- local NV_KV="`readlink /usr/src/linux`"
- if [ $? -ne 0 ]
- then
- die "/usr/src/linux does not exist"
- fi
- NV_KV="${NV_KV/linux-/}"
- echo -n "${NV_KV}"
-}
-
-src_compile() {
- make KERNDIR="/usr/src/linux-`nv_get_kernel_version`" \
- clean NVdriver || die
-}
-
-src_install () {
- # The driver goes into the standard modules location
- insinto "/lib/modules/`nv_get_kernel_version`/kernel/video"
- doins NVdriver
-
- # Add the aliases
- insinto /etc/modules.d
- doins "${FILESDIR}"/nvidia
-
- # Docs
- dodoc README
-
- # The device creation script
- exeinto /opt/nvidia/bin
- doexe "${FILESDIR}"/make_nvidia_devices.sh
-}
-
-pkg_postinst() {
- if [ "${ROOT}" = "/" ]
- then
- [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
- [ -x /sbin/depmod ] && /sbin/depmod -a
- fi
-
- einfo
- einfo "If you are not using devfs, you might want to create nvidia"
- einfo "device nodes by running /opt/nvidia/bin/make_nvidia_devices.sh"
- einfo
- einfo "To load the module automatically at boot up, add"
- einfo "\"NVdriver\" to your /etc/modules.autoload:"
- einfo
-}