/[gentoo-x86]/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20050420.ebuild
Gentoo

Contents of /net-wireless/madwifi-driver/madwifi-driver-0.1_pre20050420.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun Nov 13 16:34:22 2005 UTC (14 years, 8 months ago) by genstef
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump, remove old ebuilds
(Portage version: 2.0.53_rc7)

1 solar 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 genstef 1.3 # $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20050420.ebuild,v 1.2 2005/06/30 17:31:18 josejx Exp $
4 solar 1.1
5     inherit linux-mod
6    
7     DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
8     HOMEPAGE="http://madwifi.sourceforge.net/"
9     SRC_URI="http://madwifi.otaku42.de/${PV:7:4}/${PV:11:2}/madwifi-cvs-snapshot-${PV:7:4}-${PV:11:2}-${PV:13:2}.tar.bz2"
10     LICENSE="GPL-2"
11 josejx 1.2 KEYWORDS="~x86 ~amd64 ~ppc"
12 solar 1.1 IUSE=""
13     DEPEND="app-arch/sharutils"
14     RDEPEND=""
15     S=${WORKDIR}/madwifi
16    
17     pkg_setup() {
18     linux-mod_pkg_setup
19    
20     use x86 && TARGET=i386-elf
21     use amd64 && TARGET=x86_64-elf
22 josejx 1.2 use ppc && TARGET=powerpc-be-eabi
23 solar 1.1 MODULE_NAMES="ath_hal(net:${S}/ath_hal) wlan(net:${S}/net80211) wlan_acl(net:${S}/net80211)
24     wlan_ccmp(net:${S}/net80211) wlan_tkip(net:${S}/net80211) wlan_wep(net:${S}/net80211)
25     wlan_xauth(net:${S}/net80211) ath_rate_amrr(net:${S}/ath_rate/amrr)
26     ath_rate_onoe(net:${S}/ath_rate/onoe) ath_pci(net:${S}/ath)"
27     BUILD_PARAMS="KERNELPATH=${ROOT}${KV_OUT_DIR} KERNELRELEASE=${KV_FULL}
28     TARGET=${TARGET} TOOLPREFIX=/usr/bin/"
29     BUILD_TARGETS="all"
30     }
31    
32     src_unpack() {
33     unpack ${A}
34     cd ${S}
35     for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe; do
36     convert_to_m ${S}/${dir}/Makefile
37     done
38     }
39    
40     src_install() {
41     dodoc README COPYRIGHT
42    
43     linux-mod_src_install
44     }
45    
46     pkg_postinst() {
47     linux-mod_pkg_postinst
48    
49     einfo ""
50     einfo "The madwifi drivers create an interface named 'athX'"
51     einfo "Create /etc/init.d/net.ath0 and add a line for athX"
52     einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'"
53     einfo ""
54     }

  ViewVC Help
Powered by ViewVC 1.1.20