summaryrefslogtreecommitdiffstats
path: root/main/iwlwifi-3945-ucode/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/iwlwifi-3945-ucode/APKBUILD')
-rw-r--r--main/iwlwifi-3945-ucode/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/iwlwifi-3945-ucode/APKBUILD b/main/iwlwifi-3945-ucode/APKBUILD
new file mode 100644
index 000000000..4d129cd3b
--- /dev/null
+++ b/main/iwlwifi-3945-ucode/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=iwlwifi-3945-ucode
+pkgver=15.32.2.9
+pkgrel=0
+pkgdesc="Intel (R) PRO/Wireless 3945ABG Network Connection Microcode"
+url="http://intellinuxwireless.org/?p=iwlwifi"
+license="custom"
+depends=
+makedepends=
+install=
+subpackages="$pkgname-doc"
+source="http://intellinuxwireless.org/iwlwifi/downloads/$pkgname-$pkgver.tgz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ install -d "$pkgdir"/lib/firmware \
+ "$pkgdir"/usr/share/doc/$pkgname \
+ "$pkgdir"/usr/share/licenses/$pkgname
+ install iwlwifi-*.ucode "$pkgdir"/lib/firmware/
+ install -m644 README.* "$pkgdir"/usr/share/doc/$pkgname/
+ install -m644 LICENSE.* "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+md5sums="d99a75ab1305d1532a09471b2f9a547a iwlwifi-3945-ucode-15.32.2.9.tgz"