summaryrefslogtreecommitdiff
path: root/net-wireless/ralink-firmware/ralink-firmware-20090213.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/ralink-firmware/ralink-firmware-20090213.ebuild')
-rw-r--r--net-wireless/ralink-firmware/ralink-firmware-20090213.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-wireless/ralink-firmware/ralink-firmware-20090213.ebuild b/net-wireless/ralink-firmware/ralink-firmware-20090213.ebuild
new file mode 100644
index 00000000..2bcb85f8
--- /dev/null
+++ b/net-wireless/ralink-firmware/ralink-firmware-20090213.ebuild
@@ -0,0 +1,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"
+}