# Template build file for 'aircrack-ng' _aircrack_ver=1.2 _aircrack_rc=rc2 pkgname=aircrack-ng version="${_aircrack_ver}${_aircrack_rc}" wrksrc="${pkgname}-${_aircrack_ver}-${_aircrack_rc}" revision=3 hostmakedepends="pkg-config" makedepends="zlib-devel libressl-devel sqlite-devel libnl3-devel" short_desc="A key cracker for the 802.11 WEP and WPA-PSK protocols" homepage="http://www.aircrack-ng.org/" maintainer="Jan S. " license="GPL-2" distfiles="http://download.aircrack-ng.org/${pkgname}-${_aircrack_ver}-${_aircrack_rc}.tar.gz" checksum=ba5b3eda44254efc5b7c9f776eb756f7cc323ad5d0813c101e92edb483d157e9 do_build() { make CC=$CC sqlite=1 libnl=1 ${makejobs} } do_install() { make prefix=/usr sbindir=/usr/bin DESTDIR=${DESTDIR} sqlite=1 libnl=1 install }