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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show 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.3: +1 -1 lines
FILE REMOVED
Version bump, remove old ebuilds
(Portage version: 2.0.53_rc7)

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_pre20050107.ebuild,v 1.3 2005/01/10 04:12:17 solar 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) ath_rate_onoe(net:${S}/ath_rate/onoe)
23 wlan(net:${S}/net80211) wlan_acl(net:${S}/net80211) wlan_ccmp(net:${S}/net80211)
24 wlan_tkip(net:${S}/net80211) wlan_wep(net:${S}/net80211)
25 wlan_xauth(net:${S}/net80211) ath_pci(net:${S}/ath)"
26 BUILD_PARAMS="KERNELPATH=${ROOT}${KV_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 ath_rate/amrr ath_rate/onoe net80211; 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