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 | 5230de32178481ffa2814f29577506b403d4e817 (patch) | |
tree | 7e045182af597a28d7af05f79d51b5bd29126ab6 /net-wireless/madwifi-driver | |
parent | Initial import. a/b/g drivers! (diff) | |
download | gentoo-2-5230de32178481ffa2814f29577506b403d4e817.tar.gz gentoo-2-5230de32178481ffa2814f29577506b403d4e817.tar.bz2 gentoo-2-5230de32178481ffa2814f29577506b403d4e817.zip |
Initial import. a/b/g drivers!
Diffstat (limited to 'net-wireless/madwifi-driver')
4 files changed, 70 insertions, 1 deletions
diff --git a/net-wireless/madwifi-driver/ChangeLog b/net-wireless/madwifi-driver/ChangeLog new file mode 100644 index 000000000000..92483d73b540 --- /dev/null +++ b/net-wireless/madwifi-driver/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-wireless/madwifi-driver +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.1 2003/07/18 19:37:01 latexer Exp $ + +*madwifi-driver-0.1_pre20030702 (18 Jul 2003) + + 18 Jul 2003; Peter Johanson <latexer@gentoo.org> + madwifi-driver-0.1_pre20030702.ebuild: + Initial import. Drivers for the Atheros chipset (a/b/g) + 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 "" +} |