# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit linux-mod cvs DESCRIPTION="Driver for the RaLink RT61 wireless chipsets" HOMEPAGE="http://rt2x00.serialmonkey.com/wiki/index.php/Main_Page" LICENSE="GPL-2" ECVS_SERVER="rt2400.cvs.sourceforge.net:/cvsroot/rt2400" ECVS_MODULE="source/rt61" ECVS_LOCALNAME="${P}" KEYWORDS="-* ~amd64 ~x86" IUSE="debug" RDEPEND="net-wireless/wireless-tools" 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 && debug="y" linux-mod_src_compile } src_install() { linux-mod_src_install dodoc BIG_FAT_WARNING CHANGELOG FAQ TESTING THANKS dodoc Module/README Module/ReleaseNote Module/STA_iwpriv_ATE_usage.txt insinto /etc/Wireless/RT61STA doins Module/rt2661.bin Module/rt2561s.bin doins Module/rt2561.bin Module/rt61sta.dat } pkg_postinst() { linux-mod_pkg_postinst einfo einfo "Thanks to RaLink for releasing open drivers!" einfo ewarn ewarn "This is a CVS ebuild - please report any bugs to the rt2600 forums:" ewarn "http://rt2x00.serialmonkey.com/phpBB2/viewforum.php?f=7" ewarn ewarn "Any bugs reported to Gentoo will be marked INVALID!" ewarn }