33 lines
1007 B
Bash
33 lines
1007 B
Bash
# Template file for 'aircrack-ng'
|
|
pkgname=aircrack-ng
|
|
version=1.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="libnl3-devel libressl-devel sqlite-devel zlib-devel"
|
|
short_desc="Complete suite of tools to assess WiFi network security"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, BSD-3-Clause, OpenSSL"
|
|
homepage="https://www.aircrack-ng.org/"
|
|
changelog="https://www.aircrack-ng.org/doku.php?id=changelog"
|
|
distfiles="https://download.aircrack-ng.org/${pkgname}-${version}.tar.gz"
|
|
checksum=4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247
|
|
|
|
pre_configure() {
|
|
# does runtime detection, this actually breaks build
|
|
CFLAGS=${CFLAGS/-mno-altivec/}
|
|
CXXFLAGS=${CXXFLAGS/-mno-altivec/}
|
|
|
|
ACLOCAL=/usr/bin/aclocal \
|
|
AUTOCONF=/usr/bin/autoconf \
|
|
AUTOHEADER=/usr/bin/autoheader \
|
|
AUTOMAKE=/usr/bin/automake \
|
|
LIBTOOLIZE=/usr/bin/libtoolize \
|
|
NOCONFIGURE=1 \
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.OpenSSL
|
|
}
|