summaryrefslogtreecommitdiff
blob: 21b9ab432c407e06e3848b16565620d5a282331e (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2870-firmware/rt2870-firmware-29.ebuild,v 1.2 2012/04/06 10:22:32 maekke Exp $

EAPI="4"

DESCRIPTION="Firmware for Ralink rt2870-based WiFi adapters (rt2800usb and rt2870sta modules)"
HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git
	http://www.ralinktech.com/en/04_support/support.php?sn=501"
# Files on Ralink's website are ancient; use linux-firmware data instead.
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="ralink-firmware"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

RDEPEND="|| ( sys-fs/udev sys-apps/hotplug )"
DEPEND=""

src_install() {
	insinto /lib/firmware
	doins rt2870.bin rt3070.bin rt3071.bin
	# The license must be installed so that we can redistribute.
	# Otherwise binpkgs or CDs wouldn't have the license.
	dodoc LICENCE.ralink-firmware.txt WHENCE
}