aboutsummaryrefslogtreecommitdiffstats
path: root/community/wpan-tools/APKBUILD
blob: 9a80ecfe31cf8edbae59650fe97bec5f6ea54835 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=wpan-tools
pkgver=0.9
pkgrel=0
pkgdesc="Configure and test 802.15.4 devices"
url="http://wpan.cakelab.org/"
arch="all"
license="ISC"
depends="libnl3-dev linux-headers"
makedepends="$depends_dev"
options="!check" # upstream doesn't have a test suite currently
source="https://github.com/linux-wpan/wpan-tools/releases/download/wpan-tools-$pkgver/wpan-tools-$pkgver.tar.xz
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="16fbdd9c1e53e351a2858a81d67fa37027b5e39b26e57f2c1ba0c76d3cf6dcc018e7cae8276a68f47fabbd92ec53fda7b47b48f84424ab457093353fe96c4347  wpan-tools-0.9.tar.xz"