/[gentoo-x86]/net-misc/r8168/r8168-8.028.00.ebuild
Gentoo

Contents of /net-misc/r8168/r8168-8.028.00.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Thu Apr 5 21:12:07 2012 UTC (2 years, 8 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #404311

(Portage version: 2.1.10.49/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/r8168/r8168-8.028.00.ebuild,v 1.3 2012/04/04 16:53:04 joker Exp $
4
5 EAPI=4
6
7 inherit linux-mod eutils
8
9 DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs"
10 HOMEPAGE="http://www.realtek.com.tw"
11 SRC_URI="http://r8168.googlecode.com/files/${P}.tar.bz2"
12 LICENSE="GPL-2"
13 SLOT="0"
14 IUSE=""
15
16 KEYWORDS="amd64 x86"
17
18 MODULE_NAMES="r8168(net:${S}/src)"
19 BUILD_TARGETS="modules"
20 CONFIG_CHECK="!R8169"
21
22 ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED"
23
24 src_prepare() {
25 epatch "${FILESDIR}/${P}-linux-3.3-compat.patch"
26 }
27
28 pkg_setup() {
29 linux-mod_pkg_setup
30 BUILD_PARAMS="KERNELDIR=${KV_DIR}"
31 }
32
33 src_install() {
34 linux-mod_src_install
35 dodoc README
36 }

  ViewVC Help
Powered by ViewVC 1.1.20