summaryrefslogtreecommitdiff
path: root/net-wireless/ralink-firmware/ralink-firmware-20090213.ebuild
blob: 2bcb85f868e695e948ecc9cab5d6d5c0f035b386 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="All publicly released Ralink Firmware files from their website"
HOMEPAGE="http://www.ralinktech.com/ralink/Home/Support/Linux.html"
SRC_URI="http://www.ralinktech.com.tw/data/RT61_Firmware_V1.2.zip
	 http://www.ralinktech.com.tw/data/RT71W_Firmware_V1.8.zip
	 http://www.ralinktech.com.tw/data/drivers/RT2870_Firmware_V8.zip
	 http://www.ralinktech.com.tw/data/drivers/RT2860_Firmware_V11.zip"

LICENSE="Ralink"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="|| ( >=sys-fs/udev-096 >=sys-apps/hotplug-20040923 )
	app-arch/unzip"

src_compile() {
	einfo "nothing to compile"
}

src_install() {
	S="${WORKDIR}"
	insinto /lib/firmware
	doins "${S}"/RT2860_Firmware_V11/*.bin
	doins "${S}"/RT61_Firmware_V1.2/*.bin
	doins "${S}"/RT2870_Firmware_V8/*.bin
	doins "${S}"/RT71W_Firmware_V1.8/*.bin
	dodoc "${S}"/RT2860_Firmware_V11/LICENSE.ralink-firmware.txt || die "dodoc failed"
}