void-packages/srcpkgs/aircrack-ng/template

24 lines
787 B
Bash
Raw Normal View History

2014-03-10 01:31:27 +01:00
# Template build file for 'aircrack-ng'
_aircrack_ver=1.2
2015-04-12 09:07:24 +02:00
_aircrack_rc=rc2
2014-03-10 01:31:27 +01:00
pkgname=aircrack-ng
2014-11-29 21:25:12 +01:00
version="${_aircrack_ver}${_aircrack_rc}"
wrksrc="${pkgname}-${_aircrack_ver}-${_aircrack_rc}"
revision=4
2015-02-24 10:15:34 +01:00
hostmakedepends="pkg-config"
makedepends="zlib-devel libressl-devel sqlite-devel libnl3-devel"
2014-03-10 01:31:27 +01:00
short_desc="A key cracker for the 802.11 WEP and WPA-PSK protocols"
homepage="http://www.aircrack-ng.org/"
maintainer="Jan S. <jan.schreib@gmail.com>"
license="GPL-2"
2014-11-29 21:25:12 +01:00
distfiles="http://download.aircrack-ng.org/${pkgname}-${_aircrack_ver}-${_aircrack_rc}.tar.gz"
2015-04-12 09:07:24 +02:00
checksum=ba5b3eda44254efc5b7c9f776eb756f7cc323ad5d0813c101e92edb483d157e9
2015-06-02 11:24:45 +02:00
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
}