aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-16 23:37:18 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-08-28 08:40:45 +0000
commite1a3336f158760bd5d084036d3c871c9dfa44cb7 (patch)
tree65905df796a8d01e102425b407d4fa56dff8ac60 /main
parent5d5eeec136f9b92a3a146954dbc5890f2a8a68f7 (diff)
downloadaports-e1a3336f158760bd5d084036d3c871c9dfa44cb7.tar.bz2
aports-e1a3336f158760bd5d084036d3c871c9dfa44cb7.tar.xz
main/wireless-tools: modernise and mark as having no test sutie
Diffstat (limited to 'main')
-rw-r--r--main/wireless-tools/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/main/wireless-tools/APKBUILD b/main/wireless-tools/APKBUILD
index 444f238f13..49c925019b 100644
--- a/main/wireless-tools/APKBUILD
+++ b/main/wireless-tools/APKBUILD
@@ -10,22 +10,24 @@ license="GPL2"
depends=""
makedepends="linux-headers "
install=""
+options="!check"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.${pkgver/_/.}.tar.gz
"
-_builddir="$srcdir"/wireless_tools.30
+builddir="$srcdir"/wireless_tools.30
+
build() {
- cd "$_builddir"
- make || return 1
+ cd "$builddir"
+ make
}
package() {
- cd "$_builddir"
+ 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
+ INSTALL_MAN="$pkgdir"/usr/share/man install
}
md5sums="ca91ba7c7eff9bfff6926b1a34a4697d wireless_tools.30.pre9.tar.gz"