/[gentoo-x86]/net-misc/e1000/e1000-5.2.20.ebuild
Gentoo

Contents of /net-misc/e1000/e1000-5.2.20.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Tue Apr 13 21:02:49 2004 UTC (15 years, 9 months ago) by mholzer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bumped.

1 mholzer 1.1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3 mholzer 1.4 # $Header: /home/cvsroot/gentoo-x86/net-misc/e1000/e1000-5.2.20.ebuild,v 1.3 2003/12/04 18:04:27 mholzer Exp $
4 mholzer 1.1
5     DESCRIPTION="Kernel driver for Intel Pro/1000 ethernet adapters."
6     HOMEPAGE="http://support.intel.com/support/network/adapter/1000/index.htm"
7     LICENSE="GPL-2"
8     DEPEND="virtual/linux-sources"
9    
10     SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11     RESTRICT="nomirror"
12 mholzer 1.3 SLOT="${KV}"
13 mholzer 1.2 KEYWORDS="x86"
14 mholzer 1.1 S="${WORKDIR}/${P}"
15    
16    
17     src_unpack() {
18     unpack ${A}
19     cd ${S}/src
20     # rem out the DEPVER line, since it would cause a sandbox violation and
21     # since it is only needed by RPM ;-)
22     sed -i "/^DEPVER :=/ d" Makefile
23     }
24    
25    
26     src_compile() {
27     check_KV
28     cd "${S}/src"
29     make KSRC=/usr/src/linux clean e1000.o
30     }
31    
32    
33     src_install() {
34     insinto "/lib/modules/${KV}/kernel/drivers/net"
35     doins "${S}/src/e1000.o"
36     doman e1000.7
37     dodoc LICENSE README SUMS e1000.spec ldistrib.txt
38     einfo ""
39     einfo "In case you have problems, loading the module, try to run depmod -A"
40     einfo ""
41     }

  ViewVC Help
Powered by ViewVC 1.1.20