summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/rt61/rt61-1.1.0_beta1.ebuild')
-rw-r--r--net-wireless/rt61/rt61-1.1.0_beta1.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/net-wireless/rt61/rt61-1.1.0_beta1.ebuild b/net-wireless/rt61/rt61-1.1.0_beta1.ebuild
new file mode 100644
index 000000000000..5cf2e87e5543
--- /dev/null
+++ b/net-wireless/rt61/rt61-1.1.0_beta1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt61/rt61-1.1.0_beta1.ebuild,v 1.1 2006/07/01 12:12:16 genstef Exp $
+
+inherit linux-mod
+
+DESCRIPTION="Driver for the RaLink RT61 wireless chipsets"
+HOMEPAGE="http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page"
+LICENSE="GPL-2"
+
+MY_P=${P/_beta/-b}
+
+SRC_URI="mirror://sourceforge/rt2400/${MY_P}.tar.gz"
+
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="debug"
+RDEPEND="net-wireless/wireless-tools"
+S="${WORKDIR}/${MY_P}"
+MODULE_NAMES="rt61(net:${S}/Module)"
+
+CONFIG_CHECK="NET_RADIO"
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+
+MODULESD_RT61_ALIASES=('ra? rt61')
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KERNDIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
+}
+
+src_compile() {
+ use debug && export debug="y"
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+ dodoc BIG_FAT_WARNING CHANGELOG FAQ TESTING THANKS
+ dodoc Module/README Module/STA_iwpriv_ATE_usage.txt
+ insinto /etc/Wireless/RT61STA
+ doins Module/rt{2{561{,s},661}.bin,61sta.dat}
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "Thanks to RaLink for releasing open drivers!"
+ einfo
+}