vp-build/srcpkgs/aircrack-ng/template

31 lines
915 B
Bash

# Template file for 'aircrack-ng'
pkgname=aircrack-ng
version=1.6
revision=4
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libnl3-devel openssl-devel sqlite-devel zlib-devel libcap-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
CFLAGS="-fcommon"
pre_configure() {
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
}