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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Feb 12 06:27:40 2004 UTC (16 years, 4 months ago) by sediener
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleared out all but the last three monthly snapshots.  Added Febs snap.

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20031213.ebuild,v 1.1 2003/12/13 22:15:50 sediener Exp $
4
5 DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
6 HOMEPAGE="http://madwifi.sourceforge.net/"
7
8 # Point to any required sources; these will be automatically downloaded by
9 # Portage.
10 SRC_URI="mirror://gentoo/$P.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14
15 KEYWORDS="~x86"
16 IUSE=""
17 DEPEND=""
18
19 S=${WORKDIR}
20
21 src_unpack() {
22 check_KV
23 unpack ${A}
24
25 einfo "${KV}"
26
27 cd ${S}
28 mv Makefile.inc ${T}
29 sed -e "s:\$(shell uname -r):${KV}:" \
30 -e "s:\${DEPTH\}/../:/usr/src/:" \
31 ${T}/Makefile.inc > Makefile.inc
32 }
33
34 src_compile() {
35 make clean
36 make || die
37 }
38
39 src_install() {
40 dodir /lib/modules/${KV}/net
41 insinto /lib/modules/${KV}/net
42 doins ${S}/wlan/wlan.o ${S}/ath_hal/ath_hal.o ${S}/driver/ath_pci.o
43
44 dodoc README
45 }
46
47 pkg_postinst() {
48 depmod -a
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