aports/main/wireless-tools/APKBUILD
2024-08-08 08:57:39 +02:00

35 lines
1.2 KiB
Text

# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=wireless-tools
pkgver=30_pre9
pkgrel=5
pkgdesc="Open Source wireless tools"
url="https://hewlettpackard.github.io/wireless-tools/Tools.html"
arch="all"
license="GPL-2.0-only"
makedepends="linux-headers"
options="!check"
subpackages="$pkgname-libs $pkgname-dev $pkgname-doc"
source="https://hewlettpackard.github.io/wireless-tools/wireless_tools.${pkgver/_/.}.tar.gz
flags.patch
include-libgen.patch
"
builddir="$srcdir"/wireless_tools.30
build() {
CFLAGS="$CFLAGS -flto=auto" \
make
}
package() {
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
b5a06be4e4aca5319433e6f559a1bf9441c6d1d365760b3121495fd49b6ee8248c4a4a1c7cabd24d1974281b999dba916fef6e8241a2a7101e5ff7981325ab99 flags.patch
ea5317997ea1281fcdbdac59b7ec004880575bcb9e6eceb3d39ba5a73a121bb3559ee9cbb170b57f3db333552e12c48bc378987a04e60c16284302c1b2beacf8 include-libgen.patch
"