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

Diff of /net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040906.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/Attic/madwifi-driver-0.1_pre20040906.ebuild,v 1.1 2004/09/06 18:46:51 solar Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/Attic/madwifi-driver-0.1_pre20040906.ebuild,v 1.2 2004/10/19 18:49:42 solar Exp $
4 4
5# All work on madwifi is pretty much done under the WPA branch. At some 5# All work on madwifi is pretty much done under the WPA branch. At some
6# point in the near future it should be merged back into HEAD. 6# point in the near future it should be merged back into HEAD.
7# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co -r WPA madwifi 7# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co -r WPA madwifi
8 8
11DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards" 11DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
12HOMEPAGE="http://madwifi.sourceforge.net/" 12HOMEPAGE="http://madwifi.sourceforge.net/"
13 13
14# Point to any required sources; these will be automatically downloaded by 14# Point to any required sources; these will be automatically downloaded by
15# Portage. 15# Portage.
16SRC_URI="mirror://gentoo/$P.tar.bz2 mirror://gentoo/${PN}-${PV}-gentoo.patch.bz2" 16SRC_URI="mirror://gentoo/${P}.tar.bz2 mirror://gentoo/${PN}-${PV}-gentoo.patch.bz2"
17 17
18LICENSE="GPL-2" 18LICENSE="GPL-2"
19SLOT="0" 19SLOT="0"
20 20
21KEYWORDS="~x86" 21KEYWORDS="~x86"
23DEPEND="" 23DEPEND=""
24 24
25S=${WORKDIR} 25S=${WORKDIR}
26 26
27pkg_setup() { 27pkg_setup() {
28 check_KV
28 if [[ "${KV}" > "2.5" ]] ; then 29 if [[ "${KV}" > "2.5" ]] ; then
30 if [[ "${KV}" < "2.6.6" ]] ; then
29 cd ${ROOT}/usr/src/linux 31 cd ${ROOT}/usr/src/linux
30 if [[ "${KV}" > "2.6.8" ]] ; then 32 [ -x ./scripts/modpost ] \
31 ./scripts/mod/modpost ./vmlinux
32 else
33 ./scripts/modpost ./vmlinux 33 && ./scripts/modpost ./vmlinux
34 fi 34 fi
35 fi 35 fi
36} 36}
37 37
38src_unpack() { 38src_unpack() {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20