aboutsummaryrefslogtreecommitdiffstats
path: root/main/wireless-tools/APKBUILD
blob: 288c8386bcd4fb576bdbb505ae41a16ba7d8736e (plain) (blame)
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
28
29
30
31
32
33
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: 
pkgname=wireless-tools
pkgver=29
pkgrel=4
pkgdesc="Open Source wireless tools"
url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
arch="all"
license="GPL"
depends=
makedepends=""
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.$pkgver.tar.gz
	wireless-tools-29-asneeded.patch
	"

build() {
	cd "$srcdir/wireless_tools.$pkgver"
	patch -p1 -i ../wireless-tools-29-asneeded.patch || return 1
	make || return 1
}

package() {
	cd "$srcdir/wireless_tools.$pkgver"
	make INSTALL_DIR="$pkgdir"/usr/sbin \
		INSTALL_LIB="$pkgdir"/usr/lib \
		INSTALL_INC="$pkgdir"/usr/include \
		INSTALL_MAN="$pkgdir"/usr/share/man install || return 1
}

md5sums="e06c222e186f7cc013fd272d023710cb  wireless_tools.29.tar.gz
9d979950e6965b31d3d136f570273d23  wireless-tools-29-asneeded.patch"