/[gentoo-x86]/net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild
Gentoo

Contents of /net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Jul 7 10:55:27 2007 UTC (7 years ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
Make it work with KV_OUT_DIR thanks to Natanael Copa <natanael.copa@gmail.com> in bug 182647
(Portage version: 2.1.3_rc6)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild,v 1.4 2007/05/09 20:15:51 genstef Exp $
4
5 inherit linux-mod eutils
6
7 DESCRIPTION="Driver for the rtl8180 wireless chipset"
8 HOMEPAGE="http://rtl8180-sa2400.sourceforge.net"
9 SRC_URI="mirror://gentoo/${P}.tar.bz2"
10 LICENSE="GPL-2"
11
12 KEYWORDS="~x86 ~ppc"
13 IUSE=""
14
15 DEPEND="net-wireless/wireless-tools"
16
17 MODULE_NAMES="ieee80211_crypt-r8180(net:) ieee80211_crypt_wep-r8180(net:)
18 ieee80211-r8180(net:) r8180(net:)"
19 CONFIG_CHECK="WIRELESS_EXT CRYPTO CRYPTO_ARC4 CRC32"
20 BUILD_TARGETS="all"
21
22 pkg_setup() {
23 linux-mod_pkg_setup
24 BUILD_PARAMS="KSRC=${KV_OUT_DIR}"
25 }
26
27 src_unpack() {
28 unpack ${A}
29 cd ${S}
30 sed -i -e 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' \
31 -e 's:MODULE_PARM(\([^,]*\),"s");:module_param(\1, charp, 0);:' r8180_core.c
32 sed -i -e 's:MODVERDIR=$(PWD) ::' {,ieee80211/}Makefile
33
34 # 2.6.19 patch
35 epatch ${FILESDIR}/${PN}-2.6.19.patch
36
37 # 2.6.20 patch
38 epatch ${FILESDIR}/${PN}-2.6.20.patch
39 }
40
41 src_install() {
42 linux-mod_src_install
43
44 dodoc AUTHORS CHANGES INSTALL README README.adhoc
45 }

  ViewVC Help
Powered by ViewVC 1.1.20