/[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.1 - (show annotations) (download)
Thu Oct 30 11:32:40 2003 UTC (16 years, 4 months ago) by mholzer
Branch: MAIN
version bumped.

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-5.2.16.ebuild,v 1.1 2003/10/18 17:45:22 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="mirror://sourceforge/${PN}/${P}.tar.gz"
11 RESTRICT="nomirror"
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 -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