prism3-firmware:
authorMichael Lauer <mickey@vanille-media.de>
Sun, 24 Jul 2005 21:23:00 +0000 (21:23 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 24 Jul 2005 21:23:00 +0000 (21:23 +0000)
- add v1.8.4
- fix SRC_URI in v1.8.3
- set PACKAGE_ARCH to noarch

packages/misc-binary-only/prism3-firmware_1.8.3.bb
packages/misc-binary-only/prism3-firmware_1.8.4.bb [new file with mode: 0644]

index b1b6321..50b52e0 100644 (file)
@@ -1,16 +1,16 @@
 DESCRIPTION = "Firmware for the Prism3 cards"
 SECTION = "base"
 LICENSE = "Unknown"
-PR = "r2"
+PR = "r3"
 
-SRC_URI = "http://www.red-bean.com/~proski/firmware/${PV}.tar.gz \
-          http://www.red-bean.com/~proski/firmware/primary.tar.gz"
+SRC_URI = "http://www.red-bean.com/~proski/firmware/${PV}.tar.bz2 \
+           http://www.red-bean.com/~proski/firmware/primary.tar.bz2"
 S = "${WORKDIR}"
 
 do_install() {
        install -d ${D}${sysconfdir}/pcmcia/
        install -m 0644 primary/pm010102.hex ${D}${sysconfdir}/pcmcia/
-       install -m 0644 1.8.3/rf010803.hex ${D}${sysconfdir}/pcmcia/
+       install -m 0644 ${PV}/rf010803.hex ${D}${sysconfdir}/pcmcia/
        cat >${D}${sysconfdir}/pcmcia/README.prism3-firmware <<EOF
 To make a prism3 card w/ downloadable firmware work, do the following:
        0.) Install hostap-utils
@@ -22,3 +22,6 @@ To make a prism3 card w/ downloadable firmware work, do the following:
        5.) chmod a+rx /etc/apm/suspend.d/ifup
 EOF
 }
+
+PACKAGE_ARCH = "noarch"
+
diff --git a/packages/misc-binary-only/prism3-firmware_1.8.4.bb b/packages/misc-binary-only/prism3-firmware_1.8.4.bb
new file mode 100644 (file)
index 0000000..7f0484d
--- /dev/null
@@ -0,0 +1,27 @@
+DESCRIPTION = "Firmware for the Prism3 cards"
+SECTION = "base"
+LICENSE = "Unknown"
+PR = "r0"
+
+SRC_URI = "http://www.red-bean.com/~proski/firmware/${PV}.tar.bz2 \
+           http://www.red-bean.com/~proski/firmware/primary.tar.bz2"
+S = "${WORKDIR}"
+
+do_install() {
+       install -d ${D}${sysconfdir}/pcmcia/
+       install -m 0644 primary/pm010102.hex ${D}${sysconfdir}/pcmcia/
+       install -m 0644 ${PV}/rf010804.hex ${D}${sysconfdir}/pcmcia/
+       cat >${D}${sysconfdir}/pcmcia/README.prism3-firmware <<EOF
+To make a prism3 card w/ downloadable firmware work, do the following:
+       0.) Install hostap-utils
+       1.) Add "needs_reset yes" and "needs_firmware hostap_fw_load" to
+           the proper interface in /etc/network/interfaces
+       2.) echo -e "#!/bin/sh\nifdown wlan0" >> /etc/apm/suspend.d/ifdown
+       3.) chmod a+rx /etc/apm/suspend.d/ifdown
+       4.) echo -e "#!/bin/sh\nifup wlan0" >> /etc/apm/resume.d/ifup
+       5.) chmod a+rx /etc/apm/suspend.d/ifup
+EOF
+}
+
+PACKAGE_ARCH = "noarch"
+