void-packages/srcpkgs/aircrack-ng/template
2015-12-05 19:09:40 +01:00

22 lines
798 B
Bash

# Template build file for 'aircrack-ng'
pkgname=aircrack-ng
_aircrack_ver=1.2
_aircrack_rc=rc3
version="${_aircrack_ver}${_aircrack_rc}"
revision=2
wrksrc="${pkgname}-${_aircrack_ver}-${_aircrack_rc}"
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="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
distfiles="http://download.aircrack-ng.org/${pkgname}-${_aircrack_ver}-${_aircrack_rc}.tar.gz"
checksum=8e595ccab9fe90fc7c770634ad13e30da2d7fef21497b34d56d7014b991a4585
do_build() {
make CC=$CC sqlite=true libnl=true ${makejobs}
}
do_install() {
make prefix=/usr sbindir=/usr/bin DESTDIR=${DESTDIR} sqlite=true libnl=true install
}