vp-build/srcpkgs/aircrack-ng/template

27 lines
849 B
Bash

# Template file for 'aircrack-ng'
pkgname=aircrack-ng
version=1.5.2
revision=2
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=9e592fe7658046220e0ac0a6d05c4026903f3077b248893e0056ccbe4ee88241
pre_configure() {
# does runtime detection, this actually breaks build
CFLAGS=${CFLAGS/-mno-altivec/}
CXXFLAGS=${CXXFLAGS/-mno-altivec/}
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense LICENSE.OpenSSL
}