CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
rt2870usb-firmware: initial import
authorJose V Beneyto <sepen@crux.nu>
Mon, 14 Oct 2013 22:30:10 +0000 (00:30 +0200)
committerJose V Beneyto <sepen@crux.nu>
Mon, 14 Oct 2013 22:30:10 +0000 (00:30 +0200)
rt2870usb-firmware/.footprint [new file with mode: 0644]
rt2870usb-firmware/.md5sum [new file with mode: 0644]
rt2870usb-firmware/Pkgfile [new file with mode: 0644]
rt2870usb-firmware/README [new file with mode: 0644]

diff --git a/rt2870usb-firmware/.footprint b/rt2870usb-firmware/.footprint
new file mode 100644 (file)
index 0000000..df3563a
--- /dev/null
@@ -0,0 +1,5 @@
+drwxr-xr-x     root/root       lib/
+drwxr-xr-x     root/root       lib/firmware/
+-rw-r--r--     root/root       lib/firmware/rt2870.bin
+lrwxrwxrwx     root/root       lib/firmware/rt3070.bin -> rt2870.bin
+lrwxrwxrwx     root/root       lib/firmware/rt3071.bin -> rt2870.bin
diff --git a/rt2870usb-firmware/.md5sum b/rt2870usb-firmware/.md5sum
new file mode 100644 (file)
index 0000000..865ffc3
--- /dev/null
@@ -0,0 +1 @@
+c5a93b466532a5617da6b203cabab62b  RT2870_Firmware_V22.zip
diff --git a/rt2870usb-firmware/Pkgfile b/rt2870usb-firmware/Pkgfile
new file mode 100644 (file)
index 0000000..dc1dbf7
--- /dev/null
@@ -0,0 +1,18 @@
+# Description: Firmware for RaLink RT28XX/RT30XX USB series (RT2870/RT2770/RT3572/RT3070) WiFi adapter
+# URL: http://www.mediatek.com/_en/07_downloads/01_windows.php?sn=501
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Packager: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
+
+name=rt2870usb-firmware
+version=22
+release=1
+source=(file:///RT2870_Firmware_V22.zip)
+
+build() {
+  install -D -m 0644 RT2870_Firmware_V22/rt2870.bin $PKG/lib/firmware/rt2870.bin
+  ln -s rt2870.bin $PKG/lib/firmware/rt3070.bin
+  ln -s rt2870.bin $PKG/lib/firmware/rt3071.bin
+}
+
diff --git a/rt2870usb-firmware/README b/rt2870usb-firmware/README
new file mode 100644 (file)
index 0000000..d2f8e34
--- /dev/null
@@ -0,0 +1,10 @@
+README for rt3070-firmware
+
+REQUIREMENTS
+
+   Download the Firmware for RaLink RT28XX/RT30XX USB series
+   (RT2870/RT2770/RT3572/RT3070) WiFi adapter
+   - http://www.mediatek.com/_en/07_downloads/01-1_windowsDetail.php?sn=5030
+   and put the file
+   - RT2870_Firmware_V22.zip
+   into the directory defined by PKGMK_SOURCE_DIR. See pkgmk.conf(5).