# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-wireless/orinoco-usb/orinoco-usb-9999.ebuild,v 1.3 2007/05/14 16:21:27 genstef Exp $ inherit linux-mod subversion ESVN_REPO_URI="http://orinoco.svn.sourceforge.net/svnroot/orinoco/branches/usb" DESCRIPTION="ORiNOCO IEEE 802.11 wireless LAN driver" HOMEPAGE="http://www.nongnu.org/orinoco/" SRC_URI="" LICENSE="GPL-2 MPL-1.1" SLOT="0" KEYWORDS="" RDEPEND="!net-wireless/orinoco-sn net-wireless/wireless-tools net-wireless/orinoco-fwutils" BUILD_TARGETS="all" CONFIG_CHECK="FW_LOADER NET_RADIO USB" ERROR_FW_LOADER="${P} requires support for loading firmware (CONFIG_FWLOADER)." ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." ERROR_USB="${P} requires USB support (CONFIG_USB)." pkg_setup() { linux-mod_pkg_setup if kernel_is lt 2 6 21; then eerror "${P} requires kernel 2.6.21 or above." die "Kernel version too old." fi MOD_PATH="/net/wireless" MODULE_NAMES="orinoco(${MOD_PATH}:) orinoco_usb(${MOD_PATH}:)" BUILD_PARAMS="KERNEL_PATH=${KV_OUT_DIR}" } # Don't have modified install in order to provide docs, since docs are too old