aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/wireless-tools/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/wireless-tools/APKBUILD b/testing/wireless-tools/APKBUILD
new file mode 100644
index 0000000000..0e4bf9fe08
--- /dev/null
+++ b/testing/wireless-tools/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer:
+pkgname=wireless-tools
+pkgver=29
+pkgrel=0
+pkgdesc="Open Source wireless tools"
+url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
+license="GPL"
+depends="uclibc"
+makedepends=""
+install=
+subpackages=""
+source="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.$pkgver.tar.gz"
+
+build() {
+ cd "$srcdir/wireless_tools.$pkgver"
+
+ make -j1 || return 1
+ install -m755 -D "$srcdir/wireless_tools.$pkgver"/iwpriv "$pkgdir"/usr/sbin/iwpriv
+ install -m755 -D "$srcdir/wireless_tools.$pkgver"/iwspy "$pkgdir"/usr/sbin/iwspy
+ install -m755 -D "$srcdir/wireless_tools.$pkgver"/iwlist "$pkgdir"/usr/sbin/iwlist
+ install -m755 -D "$srcdir/wireless_tools.$pkgver"/iwconfig "$pkgdir"/usr/sbin/iwconfig
+ install -m644 -D "$srcdir/wireless_tools.$pkgver"/libiw.so.29 "$pkgdir"/usr/lib/libiw.so.29
+ ln -s "$pkgdir"/usr/lib/libiw.so.29 "$pkgdir"/usr/lib/libiw.so
+}
+
+md5sums="e06c222e186f7cc013fd272d023710cb wireless_tools.29.tar.gz"