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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (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.1: +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_pre20040726.ebuild,v 1.1 2004/07/26 16:12:29 solar Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
8 HOMEPAGE="http://madwifi.sourceforge.net/"
9
10 # Point to any required sources; these will be automatically downloaded by
11 # Portage.
12 SRC_URI="mirror://gentoo/$P.tar.bz2"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16
17 KEYWORDS="~x86"
18 IUSE=""
19 DEPEND=""
20
21 S=${WORKDIR}
22
23 pkg_setup() {
24
25 if [[ "${KV}" > "2.5" ]] ; then
26 cd /usr/src/linux
27 ./scripts/modpost ./vmlinux
28 fi
29
30 }
31
32 src_unpack() {
33 check_KV
34 unpack ${A}
35 cd ${S}
36 # http://sourceforge.net/mailarchive/forum.php?thread_id=5206227&forum_id=33958
37 epatch ${FILESDIR}/${PN}-0.1-arp-packets-33958.patch
38 }
39
40 src_compile() {
41 unset ARCH
42 make clean
43 make KERNELPATH="/usr/src/linux" KERNELRELEASE="${KV}" || die
44 }
45
46 src_install() {
47 unset ARCH
48 make KERNELPATH="/usr/src/linux" KERNELRELEASE="${KV}" \
49 DESTDIR="${D}" install || die
50
51 dodoc README
52 }
53
54 pkg_postinst() {
55
56 test -r "${ROOT}/usr/src/linux/System.map" && \
57 depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
58
59 einfo ""
60 einfo "The madwifi drivers create an interface named 'athX'"
61 einfo "Create /etc/init.d/net.ath0 and add a line for athX"
62 einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'"
63 einfo ""
64 }

  ViewVC Help
Powered by ViewVC 1.1.20