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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat May 5 19:10:34 2012 UTC (2 years, 3 months ago) by joker
Branch: MAIN
CVS Tags: HEAD
Version bump with a new kernel 3.3 support patch from Richard Yao <ryao@cs.stonybrook.edu>

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
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