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 <> /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 = "all"