diff options
author | Dan Theisen <djt@hxx.in> | 2018-07-06 02:31:29 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-07-06 02:34:42 -0700 |
commit | bd8bbabec83d1dfa4012f5c2ba4bc0268146c21d (patch) | |
tree | 2c3c94ad300452acaab8d50c9a2dcc97b8917521 | |
parent | 18ab65d12e1f62baae5e5e44da269d87f1022356 (diff) | |
download | packages-bd8bbabec83d1dfa4012f5c2ba4bc0268146c21d.tar.gz packages-bd8bbabec83d1dfa4012f5c2ba4bc0268146c21d.tar.bz2 packages-bd8bbabec83d1dfa4012f5c2ba4bc0268146c21d.tar.xz packages-bd8bbabec83d1dfa4012f5c2ba4bc0268146c21d.zip |
user/wireless-tools: import, take, clean up
-rw-r--r-- | user/wireless-tools/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/wireless-tools/APKBUILD b/user/wireless-tools/APKBUILD new file mode 100644 index 000000000..b4cf49688 --- /dev/null +++ b/user/wireless-tools/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Dan Theisen <djt@hxx.in> +# Note: Sorry this is disgusting, I blame the author for archiving it using a silly naming scheme +pkgname=wireless-tools +pkgver=30_pre9 +_pkgname=${pkgname/-/_} +_pkgver=${pkgver/_/.} +_pkgmaj=${pkgver%_pre[0-9]*} +pkgrel=0 +pkgdesc="Open Source wireless tools" +url="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" +arch="all" +license="GPL-2.0-or-later" +depends="" +makedepends="linux-headers" +install="" +options="!check" # these applications have no testsuite +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/wireless_tools.${_pkgver}.tar.gz" + +builddir="$srcdir"/"$_pkgname"."$_pkgmaj" + +build() { + cd "$builddir" + make +} + +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 +} + +sha512sums="0561923bca075af4754d21e1be303cbd1ce3558cb6481c9c12bc7d330a353acf8ad81a822488570e859480287999c3bb2a698c993556a92f0699743e0a527ff1 wireless_tools.30.pre9.tar.gz" |