summaryrefslogtreecommitdiff
blob: 74606908fdebe48fd5e23f4ee980164779017a7d (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/rt2860-firmware/rt2860-firmware-34.ebuild,v 1.1 2012/02/29 14:25:01 tetromino Exp $

EAPI="4"

DESCRIPTION="Firmware for Ralink rt2860-based WiFi adapters (rt2800pci and rt2860sta 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 ~x86"
IUSE=""

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

src_install() {
	insinto /lib/firmware
	doins rt2860.bin rt3090.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
}