diff options
author | Tilman Sauerbeck <tilman@crux.nu> | 2007-08-24 17:27:55 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@crux.nu> | 2007-08-24 17:27:55 +0200 |
commit | 0a5904e8ffce06013fd30c6e433fa8d36b00645b (patch) | |
tree | 1d94827dad8ee7807d0b13bdcb0fec162c61e581 /ipw3945/Pkgfile | |
parent | 79115114fc1d4d64f09662dd4d562e6b31b5e8ea (diff) | |
download | opt-0a5904e8ffce06013fd30c6e433fa8d36b00645b.tar.gz opt-0a5904e8ffce06013fd30c6e433fa8d36b00645b.tar.xz |
ipw3945: initial release.
Diffstat (limited to 'ipw3945/Pkgfile')
-rw-r--r-- | ipw3945/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ipw3945/Pkgfile b/ipw3945/Pkgfile new file mode 100644 index 000000000..8418892fb --- /dev/null +++ b/ipw3945/Pkgfile @@ -0,0 +1,30 @@ +# Description: Intel PRO/Wireless 3945ABG driver +# URL: http://ip3945.sourceforge.net +# Maintainer: Tilman Sauerbeck, tilman at crux dot nu +# Depends on: wireless-tools + +name=ipw3945 +version=1.2.2 +release=1 +source=(http://bughost.org/$name/ucode/$name-ucode-1.14.2.tgz \ + http://bughost.org/$name/daemon/${name}d-1.7.22.tgz + http://dl.sourceforge.net/$name/$name-$version.tgz) + +build() { + pushd $name-ucode-1.14.2 + install -d $PKG/lib/firmware + install -m 644 $name.ucode $PKG/lib/firmware + popd + + pushd ${name}d-1.7.22 + install -d $PKG/usr/sbin + install -m 755 x86/${name}d $PKG/usr/sbin + popd + + pushd $name-$version + make + install -d $PKG/lib/modules/`uname -r`/kernel/drivers/net/wireless + install -m 644 $name.ko \ + $PKG/lib/modules/`uname -r`/kernel/drivers/net/wireless + popd +} |