/[gentoo-x86]/net-wireless/bcm43xx/bcm43xx-0.0.1-r20060105.ebuild
Gentoo

Contents of /net-wireless/bcm43xx/bcm43xx-0.0.1-r20060105.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Mon Sep 18 22:49:24 2006 UTC (13 years, 10 months ago) by kugelfang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removed net-wireless/{bcm43xx,ieee80211softmac}.

1 kugelfang 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 kugelfang 1.5 # $Header: /var/cvsroot/gentoo-x86/net-wireless/bcm43xx/bcm43xx-0.0.1-r20060105.ebuild,v 1.4 2006/03/01 21:44:10 kugelfang Exp $
4 kugelfang 1.1
5     inherit linux-mod
6    
7     DESCRIPTION="Driver for Broadcom 43xx PCI/miniPCI based wireless network devices"
8     HOMEPAGE="http://bcm43xx.berlios.de"
9     SRC_URI="mirror://gentoo/${PN}-${PVR}.tar.bz2"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13 dang 1.3 KEYWORDS="~amd64 ~ppc ~x86"
14 kugelfang 1.1
15     IUSE="debug"
16 kugelfang 1.4 DEPEND="net-wireless/ieee80211softmac"
17 kugelfang 1.1 RDEPEND="${DEPEND}
18 kugelfang 1.4 >=net-wireless/wireless-tools-28_pre4
19     >=sys-apps/hotplug-20040923-r1"
20 kugelfang 1.1
21     BUILD_TARGETS="modules"
22     MODULE_NAMES="bcm43xx(net/wireless:)"
23    
24     CONFIG_CHECK="NET_RADIO FW_LOADER"
25     ERROR_NET_RADIO="${P} requires support for \"Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)\"."
26     ERROR_FW_LOADER="${P} requires \"Hotplug firmware loading support (CONFIG_FW_LOADER)\"."
27     ERROR_IEEE80211="${P} requies (modular) support for \"Generic IEEE 802.11 Networking Stack\"."
28    
29     pkg_setup() {
30     linux-mod_pkg_setup
31    
32     if kernel_is 2 4; then
33     die "${P} does not support building against kernel 2.4.x"
34     fi
35     }
36    
37     src_compile() {
38     BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} SOFTMAC_DIR=/usr/include" linux-mod_src_compile
39     }
40    
41     pkg_postinst() {
42     linux-mod_pkg_postinst
43    
44     if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then
45     einfo
46     einfo "Modules from an earlier installation detected. You will need to manually"
47     einfo "remove those modules by running the following commands:"
48     einfo " # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko"
49     einfo " # rm -f /lib/modules/${KV_FULL}/net/ieee80211*.ko"
50     einfo " # depmod -a"
51     einfo
52     fi
53     }

  ViewVC Help
Powered by ViewVC 1.1.20