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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Aug 2 01:52:19 2006 UTC (13 years, 4 months ago) by antarus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove e1000 for bug #138471

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/e1000/e1000-5.2.39.ebuild,v 1.4 2004/07/15 02:45:39 agriffis 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="mirror://sourceforge/${PN}/${P}.tar.gz"
11 SLOT="${KV}"
12 KEYWORDS="~x86"
13 IUSE=""
14
15
16 src_unpack() {
17 unpack ${A}
18 cd ${S}/src
19 # rem out the DEPVER line, since it would cause a sandbox violation and
20 # since it is only needed by RPM ;-)
21 sed -i "/^DEPVER :=/ d" Makefile
22 }
23
24
25 src_compile() {
26 check_KV
27 cd "${S}/src"
28
29 # workaround needed for some ethernet controllers to work with low end switches
30 if [[ ${USE_INCOMPATIBLE_SWITCH} ]]
31 then CFLAGS_EXTRA="CFLAGS_EXTRA=-DE_1000_MASTER_SLAVE=1"
32 else CFLAGS_EXTRA=""
33 fi
34
35 make ${CFLAGS_EXTRA} KSRC=/usr/src/linux clean e1000.o
36 }
37
38
39 src_install() {
40 insinto "/lib/modules/${KV}/kernel/drivers/net"
41 doins "${S}/src/e1000.o"
42 doman e1000.7
43 dodoc LICENSE README SUMS e1000.spec ldistrib.txt ${FILESDIR}/README.Gentoo
44 einfo ""
45 einfo "In case you have problems, loading the module, try to run depmod -A"
46 einfo ""
47 einfo "If you experience problems with low-end switches, read"
48 einfo "/usr/share/doc/${PF}/README.Gentoo.gz for a possible workaround"
49 einfo ""
50 }

  ViewVC Help
Powered by ViewVC 1.1.20