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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Oct 19 18:49:42 2004 UTC (15 years, 9 months ago) by solar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Flushed a few of the older ebuilds and added a new 20041019 snapshot for kernel 2.6.9 - madwifi-multi-ssid.patch still appears to be needed

1 # Copyright 1999-2004 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_pre20040514.ebuild,v 1.3 2004/06/25 00:46:35 agriffis 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 pkg_setup() {
22
23 if [[ "${KV}" > "2.5" ]] ; then
24 cd /usr/src/linux
25 ./scripts/modpost ./vmlinux
26 fi
27
28 }
29
30 src_unpack() {
31 check_KV
32 unpack ${A}
33 }
34
35 src_compile() {
36 unset ARCH
37 make clean
38 make KERNELPATH="/usr/src/linux" KERNELRELEASE="${KV}" || die
39 }
40
41 src_install() {
42 unset ARCH
43 make KERNELPATH="/usr/src/linux" KERNELRELEASE="${KV}" \
44 DESTDIR="${D}" install || die
45
46 dodoc README
47 }
48
49 pkg_postinst() {
50
51 test -r "${ROOT}/usr/src/linux/System.map" && \
52 depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
53
54 einfo ""
55 einfo "The madwifi drivers create an interface named 'athX'"
56 einfo "Create /etc/init.d/net.ath0 and add a line for athX"
57 einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'"
58 einfo ""
59 }

  ViewVC Help
Powered by ViewVC 1.1.20