diff options
author | Peter Johanson <latexer@gentoo.org> | 2003-07-18 19:37:05 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2003-07-18 19:37:05 +0000 |
commit | c67dcd5b1170459073252a9f99097c354be93e62 (patch) | |
tree | bb3a5ca5e9c38a1ca4d2b46cd5754565d8d929c1 /net-wireless | |
parent | Initial import. a/b/g drivers! (diff) | |
download | historical-c67dcd5b1170459073252a9f99097c354be93e62.tar.gz historical-c67dcd5b1170459073252a9f99097c354be93e62.tar.bz2 historical-c67dcd5b1170459073252a9f99097c354be93e62.zip |
Initial import. a/b/g drivers!
Diffstat (limited to 'net-wireless')
3 files changed, 60 insertions, 1 deletions
diff --git a/net-wireless/madwifi-driver/Manifest b/net-wireless/madwifi-driver/Manifest index 2bab46486d8d..91f54d9f2f51 100644 --- a/net-wireless/madwifi-driver/Manifest +++ b/net-wireless/madwifi-driver/Manifest @@ -1,2 +1,3 @@ -MD5 32389e91e64e046efc716595a1eae118 madwifi-driver-0.1_pre20030702.ebuild 1112 +MD5 d078f5860d158f1827f749764ac2bff7 madwifi-driver-0.1_pre20030702.ebuild 1295 +MD5 0fd0a8116b386bafedbbb7968e9e280b ChangeLog 435 MD5 fe389f4d7f16ca88fd0ed50c67be6d3e files/digest-madwifi-driver-0.1_pre20030702 65 diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20030702 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20030702 new file mode 100644 index 000000000000..89975490ca24 --- /dev/null +++ b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20030702 @@ -0,0 +1 @@ +MD5 218c645c22372e73a26d28e9bd177bbc madwifi-20030702.tgz 171485 diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20030702.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20030702.ebuild new file mode 100644 index 000000000000..cd2aa23ab188 --- /dev/null +++ b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20030702.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2003 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_pre20030702.ebuild,v 1.1 2003/07/18 19:37:01 latexer Exp $ + +MY_PN="${PN/-driver/}" +MY_PV="${PV/0.1_pre/}" +MY_P="${MY_PN}-${MY_PV}" +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://sourceforge/${MY_PN}/${MY_P}.tgz" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~x86" +IUSE="" +DEPEND="" + +S=${WORKDIR}/${MY_P} + +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 + doins ${S}/wlan/wlan.o ${S}/ath_hal/ath_hal.o ${S}/driver/ath_pci.o + + 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 "" +} |