blob: 9c8daca9f5aa4163e4ad9714af62ce2b04cd3b1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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=""
IUSE=""
RDEPEND="!net-wireless/orinoco-sn
net-wireless/wireless-tools
net-wireless/orinoco-fwutils"
BUILD_TARGETS="all"
CONFIG_CHECK="FW_LOADER WIRELESS_EXT USB"
ERROR_FW_LOADER="${P} requires support for loading firmware (CONFIG_FWLOADER)."
ERROR_WIRELESS_EXT="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_WIRELESS_EXT)."
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
|