/[gentoo-x86]/net-misc/nforce-net/nforce-net-1.0.0256.ebuild
Gentoo

Contents of /net-misc/nforce-net/nforce-net-1.0.0256.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sat Sep 25 15:41:32 2004 UTC (15 years, 2 months ago) by lanius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
version bump, bug #58344

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/nforce-net/nforce-net-1.0.0256.ebuild,v 1.10 2004/07/15 03:09:35 agriffis Exp $
4
5 inherit gcc
6
7 NV_V="${PV/1.0./1.0-}"
8 NV_PACKAGE="NVIDIA_nforce-${NV_V}"
9 S="${WORKDIR}/nforce"
10 DESCRIPTION="Linux kernel module for the NVIDIA's nForce network chip"
11 HOMEPAGE="http://www.nvidia.com/"
12 SRC_URI="http://download.nvidia.com/XFree86/nforce/${NV_V}/${NV_PACKAGE}.tar.gz"
13
14 # The SLOT needs to be set to $KV to prevent unmerges of modules for other kernels
15 LICENSE="NVIDIA"
16 SLOT="${KV}"
17 KEYWORDS="-* x86"
18 IUSE=""
19 RESTRICT="nostrip"
20
21 DEPEND="virtual/linux-sources"
22
23 src_compile() {
24 check_KV
25 cd ${S}/nvnet
26 make KERNSRC="/usr/src/linux" || die
27 }
28
29 src_install() {
30 # The driver goes into the standard modules location
31 insinto /lib/modules/${KV}/kernel/drivers/net
32 doins nvnet/nvnet.o
33
34 # Docs
35 dodoc ${S}/ReleaseNotes.html
36 }
37
38 pkg_postinst() {
39 if [ "${ROOT}" = "/" ]
40 then
41 # Update module dependency
42 [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
43 fi
44
45 echo
46 einfo "You need to add \"nvnet\" to your /etc/modules.autoload to load"
47 einfo "this module when the system is started. Alternatively, you can"
48 einfo "use the 'hotplug' package ('emerge hotplug' then 'rc-update add"
49 einfo "hotplug default') to auto-detect and load \"nvnet\" on startup."
50 }

  ViewVC Help
Powered by ViewVC 1.1.20