blob: 052f119afb37603d70a649cbf79d1074bb6b2edc (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2570/rt2570-20070209.ebuild,v 1.3 2008/02/05 16:32:38 steev Exp $
inherit eutils linux-mod
DESCRIPTION="Driver for the RaLink RT2570 USB wireless chipset"
HOMEPAGE="http://rt2x00.serialmonkey.com"
SRC_URI="http://gentoo.zerodev.it/snapshots/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
DEPEND="net-wireless/wireless-tools"
pkg_setup() {
MODULE_NAMES="rt2570(net:${S}/Module)"
CONFIG_CHECK="WIRELESS_EXT BROKEN_ON_SMP"
BROKEN_ON_SMP_ERROR="SMP Processors and Kernels are currently not supported"
linux-mod_pkg_setup
if use_m
then BUILD_PARAMS="-C ${KV_DIR} M=${S}/Module"
BUILD_TARGETS="modules"
else die "please use a kernel >=2.6.6"
fi
}
src_install() {
linux-mod_src_install
dodoc Module/TESTING Module/iwpriv_usage.txt THANKS FAQ CHANGELOG
}
pkg_postinst() {
linux-mod_pkg_postinst
elog "to set up the card you can use:"
elog "- iwconfig from wireless-tools"
elog "- iwpriv, like described in \"/usr/share/doc/${PF}"\"
}
|