summaryrefslogtreecommitdiffstats
path: root/abs/core/tiacx-firmware
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/tiacx-firmware')
-rw-r--r--abs/core/tiacx-firmware/PKGBUILD20
-rw-r--r--abs/core/tiacx-firmware/tiacx-firmware.install22
2 files changed, 42 insertions, 0 deletions
diff --git a/abs/core/tiacx-firmware/PKGBUILD b/abs/core/tiacx-firmware/PKGBUILD
new file mode 100644
index 0000000..d16c818
--- /dev/null
+++ b/abs/core/tiacx-firmware/PKGBUILD
@@ -0,0 +1,20 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: James Rayner <iphitus@gmail.com>
+
+pkgname=tiacx-firmware
+pkgver=2
+pkgrel=1
+pkgdesc="Firmware for Texas Instruments ACX100/ACX111 wireless chips."
+arch=('i686' 'x86_64')
+url="http://acx100.sourceforge.net/"
+license=('MPL')
+install=tiacx-firmware.install
+source=(http://www.kazer.org/acx-firmware-20060207.tar.bz2)
+
+build() {
+ mkdir -p $startdir/pkg/usr/share
+ cp -r fw $startdir/pkg/usr/share/tiacx
+ find $startdir/pkg -type d -exec chmod 755 {} \;
+ find $startdir/pkg -type f -exec chmod 644 {} \;
+}
+md5sums=('b8efea38c2c598190604dfa297cc9675')
diff --git a/abs/core/tiacx-firmware/tiacx-firmware.install b/abs/core/tiacx-firmware/tiacx-firmware.install
new file mode 100644
index 0000000..b1ebb62
--- /dev/null
+++ b/abs/core/tiacx-firmware/tiacx-firmware.install
@@ -0,0 +1,22 @@
+post_install() {
+ cat << 'EOM'
+
+ ==>
+ ==> PLEASE NOTE:
+ ==> The firmware files for ACX100/111 devices are installed in
+ ==> /usr/share/tiacx. Please identify the correct file(s) for your
+ ==> device and copy them to /lib/firmware.
+ ==>
+ ==> See http://acx100.sourceforge.net/wiki/Firmware for details.
+ ==>
+
+EOM
+}
+
+post_upgrade() {
+ post_install
+}
+
+op=$1
+shift
+$op $*