aboutsummaryrefslogtreecommitdiffstats
path: root/main/wireless-tools/APKBUILD
blob: fbd1c2f790e6c72ae859c115b0db8f0064ef5780 (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
28
29
30
31
32
33
34
35
36
37
38
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: 
pkgname=wireless-tools
pkgver=29
pkgrel=5
pkgdesc="Open Source wireless tools"
url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html"
arch="all"
license="GPL2"
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
	"

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

package() {
	cd "$_builddir"
	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"
sha256sums="6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1  wireless_tools.29.tar.gz
41ab166672833cc030a292160b4e0d13b86fe12b6dbe79f7e8537ae76d402c56  wireless-tools-29-asneeded.patch"
sha512sums="c169e29d53353e3d65913a5a5ba219752218968b0c036d4bfb25e7f3a9e31fe1e6adfcdbb410116e9c161c99aa3a7314fdc889ba36ba63f002d11ff9dba6974d  wireless_tools.29.tar.gz
1b1d7e0f833fd0f6587f7d175d7d8597c637782bf37b4800e5d8e3c736a0755c0073b8f9876ea75b95be3735116f051ca40dc617818d5b7f8de61a54d66dc48d  wireless-tools-29-asneeded.patch"