aboutsummaryrefslogtreecommitdiffstats
path: root/community/wpan-tools/APKBUILD
blob: f5870361dfff5f6ecb21ce22265fb74a7aad303e (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
34
35
36
37
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=wpan-tools
pkgver=0.8
pkgrel=0
pkgdesc="Configure and test 802.15.4 devices"
url="http://wpan.cakelab.org/"
arch="all"
license="ISC"
depends="libnl3-dev linux-headers"
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages=""
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
	"
builddir="$srcdir/wpan-tools-$pkgver"

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

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

sha512sums="94e876331317d5ed3833a7cdfd0222543ad1f6b0dcbc9d0465eaa4701d4321d037c1363103603c0c6f7a51e740ab6e8398833e75cfbc27607db93baa914a716a  wpan-tools-0.8.tar.xz"