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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Oct 30 11:30:38 2003 UTC (16 years, 1 month ago) by mholzer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
cleanu

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/e1000/e1000-4.4.12.ebuild,v 1.3 2003/09/29 21:04:11 mholzer Exp $
4
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="ftp://aiedownload.intel.com/df-support/4833/eng/${P}.tar.gz"
11
12 SLOT="0"
13 KEYWORDS="x86"
14 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 -e "/^DEPVER :=/ d" < Makefile > Makefile.hacked || die
23 mv Makefile.hacked Makefile || die
24 }
25
26
27 src_compile() {
28 check_KV
29 cd "${S}/src"
30 make KSRC=/usr/src/linux clean e1000.o
31 }
32
33
34 src_install() {
35 insinto "/lib/modules/${KV}/kernel/drivers/net"
36 doins "${S}/src/e1000.o"
37 doman e1000.7
38 dodoc LICENSE README SUMS e1000.spec ldistrib.txt
39 einfo ""
40 einfo "In case you have problems, loading the module, try to run depmod -A"
41 einfo ""
42 }

  ViewVC Help
Powered by ViewVC 1.1.20