/[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.1 - (hide annotations) (download)
Mon Apr 25 15:16:23 2005 UTC (15 years, 3 months ago) by solar
Branch: MAIN
- remove older snapshots that were using kernel-mod.eclass and updated snapshot
(Portage version: 2.0.51.20)

1 solar 1.1 # Copyright 1999-2005 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20050224.ebuild,v 1.2 2005/04/14 10:50:09 johnm Exp $
4    
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     KEYWORDS="~x86 ~amd64"
12     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     MODULE_NAMES="ath_hal(net:${S}/ath_hal) wlan(net:${S}/net80211) wlan_acl(net:${S}/net80211)
23     wlan_ccmp(net:${S}/net80211) wlan_tkip(net:${S}/net80211) wlan_wep(net:${S}/net80211)
24     wlan_xauth(net:${S}/net80211) ath_rate_amrr(net:${S}/ath_rate/amrr)
25     ath_rate_onoe(net:${S}/ath_rate/onoe) ath_pci(net:${S}/ath)"
26     BUILD_PARAMS="KERNELPATH=${ROOT}${KV_OUT_DIR} KERNELRELEASE=${KV_FULL}
27     TARGET=${TARGET} TOOLPREFIX=/usr/bin/"
28     BUILD_TARGETS="all"
29     }
30    
31     src_unpack() {
32     unpack ${A}
33     cd ${S}
34     for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe; do
35     convert_to_m ${S}/${dir}/Makefile
36     done
37     }
38    
39     src_install() {
40     dodoc README COPYRIGHT
41    
42     linux-mod_src_install
43     }
44    
45     pkg_postinst() {
46     linux-mod_pkg_postinst
47    
48     einfo ""
49     einfo "The madwifi drivers create an interface named 'athX'"
50     einfo "Create /etc/init.d/net.ath0 and add a line for athX"
51     einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'"
52     einfo ""
53     }

  ViewVC Help
Powered by ViewVC 1.1.20