diff options
author | Stephen Diener <sediener@gentoo.org> | 2004-01-09 00:44:45 +0000 |
---|---|---|
committer | Stephen Diener <sediener@gentoo.org> | 2004-01-09 00:44:45 +0000 |
commit | d35a200ea239972e4cfa5599a5c37430dd9c8f12 (patch) | |
tree | ee7b60d48a9c5377220d8097453b26400df5aa04 /net-wireless | |
parent | CVS snapshot for Jan 2004 (diff) | |
download | historical-d35a200ea239972e4cfa5599a5c37430dd9c8f12.tar.gz historical-d35a200ea239972e4cfa5599a5c37430dd9c8f12.tar.bz2 historical-d35a200ea239972e4cfa5599a5c37430dd9c8f12.zip |
CVS snapshot for Jan 2004
Diffstat (limited to 'net-wireless')
3 files changed, 76 insertions, 2 deletions
diff --git a/net-wireless/madwifi-driver/Manifest b/net-wireless/madwifi-driver/Manifest index a2649ed2fd76..38f08eaa36bc 100644 --- a/net-wireless/madwifi-driver/Manifest +++ b/net-wireless/madwifi-driver/Manifest @@ -2,8 +2,8 @@ MD5 65d850941fb621369b1321167798cbd6 madwifi-driver-0.1_pre20031213-r1.ebuild 15 MD5 06746914d38bf276109f25c176b37c58 madwifi-driver-0.1_pre20031110.ebuild 1202 MD5 822453b9a567b6f115ae62b7da74986c madwifi-driver-0.1_pre20031213.ebuild 1202 MD5 d078f5860d158f1827f749764ac2bff7 madwifi-driver-0.1_pre20030702.ebuild 1295 -MD5 65d850941fb621369b1321167798cbd6 madwifi-driver-0.1_pre20040108.ebuild 1556 -MD5 09067b72aa39561b781fb4ad51ae0d39 ChangeLog 1135 +MD5 e15373dbf9273ff0d450a58555a27ad2 madwifi-driver-0.1_pre20040108.ebuild 1553 +MD5 b330ab8c007374b142d54588cb19f982 ChangeLog 1307 MD5 39a4faeaba4c44c4418b809c6d546384 madwifi-driver-0.1_pre20030802.ebuild 1296 MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 MD5 e00b943f3c94116d21cae2f156eddb3f files/digest-madwifi-driver-0.1_pre20031213-r1 83 diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040108 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040108 new file mode 100644 index 000000000000..7608dfa41f11 --- /dev/null +++ b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040108 @@ -0,0 +1 @@ +MD5 08e311d2de0618cd2afafec1ed118bf6 madwifi-driver-0.1_pre20040108.tar.bz2 465247 diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild new file mode 100644 index 000000000000..f0a4ae95fa6d --- /dev/null +++ b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild,v 1.1 2004/01/09 00:44:28 sediener Exp $ + +DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards" +HOMEPAGE="http://madwifi.sourceforge.net/" + +# Point to any required sources; these will be automatically downloaded by +# Portage. +SRC_URI="mirror://gentoo/$P.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~x86" +IUSE="" +DEPEND="" + +S=${WORKDIR} + +pkg_setup() { + + if [[ "${KV}" > "2.5" ]] ; then + cd /usr/src/linux + ./scripts/modpost ./vmlinux + fi + +} + +src_unpack() { + check_KV + unpack ${A} + + einfo "${KV}" + + cd ${S} + mv Makefile.inc ${T} + sed -e "s:\$(shell uname -r):${KV}:" \ + -e "s:\${DEPTH\}/../:/usr/src/:" \ + ${T}/Makefile.inc > Makefile.inc +} + +src_compile() { + make clean + make || die +} + +src_install() { + dodir /lib/modules/${KV}/net + insinto /lib/modules/${KV}/net + + # dealing with 2.6.0 kernel modules .ko naming + if [[ "${KV}" > "2.5" ]] ; then +# ewarn "Kernel Version 2.5 or higher" + doins ${S}/wlan/wlan.ko ${S}/ath_hal/ath_hal.ko ${S}/driver/ath_pci.ko + else +# ewarn "Kernel Version under 2.5" + doins ${S}/wlan/wlan.o ${S}/ath_hal/ath_hal.o ${S}/driver/ath_pci.o + fi + + dodoc README +} + +pkg_postinst() { + + depmod -a + + einfo "" + einfo "The madwifi drivers create an interface named 'athX'" + einfo "Create /etc/init.d/net.ath0 and add a line for athX" + einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'" + einfo "" +} |