# $Id$ # Maintainer: Jonathan Steel # Contributor: Brad Fanella # Contributor: Daenyth # Contributor: Corrado Primier # Contributor: ice-man # ALARM: Kevin Mihelich # - build v7 with neon pkgname=aircrack-ng _pkgver=1.3 pkgver=${_pkgver//-/} pkgrel=1.1 pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols" arch=('x86_64') url="https://www.aircrack-ng.org" license=('GPL2') depends=('openssl' 'sqlite' 'iw' 'net-tools' 'wireless_tools' 'ethtool' 'pcre' 'libpcap' 'python') conflicts=('aircrack-ng-scripts') replaces=('aircrack-ng-scripts') provides=('aircrack-ng-scripts') source=(https://download.aircrack-ng.org/$pkgname-$_pkgver.tar.gz) md5sums=('c7c5b076dee0c25ee580b0f56f455623') build() { cd $pkgname-$_pkgver [[ $CARCH == "armv7h" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS" ./autogen.sh ./configure --prefix=/usr --libexecdir=/usr/lib make } check() { cd $pkgname-$_pkgver make check } package() { cd $pkgname-$_pkgver make DESTDIR="$pkgdir" pkglibexecdir=/usr/lib/aircrack-ng \ sbindir=/usr/bin install }