aboutsummaryrefslogtreecommitdiffstats
path: root/community/wpan-tools/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-10-27 21:17:15 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2017-10-27 21:17:15 +0200
commit5658158000e22f1bbaf0fc58b1f55f827d587154 (patch)
tree96ce972598eb18525fe041d5032dc9061b83ab80 /community/wpan-tools/APKBUILD
parentc0afae4c71ffb3bb52f2e1ef300a63064c10e4e1 (diff)
downloadaports-5658158000e22f1bbaf0fc58b1f55f827d587154.tar.bz2
aports-5658158000e22f1bbaf0fc58b1f55f827d587154.tar.xz
community/wpan-tools: move from testing
Diffstat (limited to 'community/wpan-tools/APKBUILD')
-rw-r--r--community/wpan-tools/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/wpan-tools/APKBUILD b/community/wpan-tools/APKBUILD
new file mode 100644
index 0000000000..c907ff3c0d
--- /dev/null
+++ b/community/wpan-tools/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
+pkgname=wpan-tools
+pkgver=0.7
+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="http://wpan.cakelab.org/releases/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="7a44ec620bfc27428e73074146604638a33e6b705d8109bd6314d6086f5c1b364932ce400c4c1a295bdcd976eeae9a1ed9da1bbc75981f8824beeeb4cd3c5511 wpan-tools-0.7.tar.xz"