summaryrefslogtreecommitdiffstats
path: root/testing/wireless-tools/APKBUILD
blob: 0e4bf9fe0895d18e0e835599549932bfef61dfd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"