void-packages/srcpkgs/aircrack-ng/template

23 lines
798 B
Bash
Raw Normal View History

2014-03-10 01:31:27 +01:00
# Template build file for 'aircrack-ng'
pkgname=aircrack-ng
2014-03-10 01:31:27 +01:00
_aircrack_ver=1.2
2015-11-24 07:30:13 +01:00
_aircrack_rc=rc3
2014-11-29 20:25:12 +00:00
version="${_aircrack_ver}${_aircrack_rc}"
revision=2
2014-11-29 20:25:12 +00:00
wrksrc="${pkgname}-${_aircrack_ver}-${_aircrack_rc}"
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/"
2015-11-24 07:30:13 +01:00
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-03-10 01:31:27 +01:00
license="GPL-2"
2014-11-29 20:25:12 +00:00
distfiles="http://download.aircrack-ng.org/${pkgname}-${_aircrack_ver}-${_aircrack_rc}.tar.gz"
2015-11-24 07:30:13 +01:00
checksum=8e595ccab9fe90fc7c770634ad13e30da2d7fef21497b34d56d7014b991a4585
2015-06-02 11:24:45 +02:00
do_build() {
make CC=$CC sqlite=true libnl=true ${makejobs}
2015-06-02 11:24:45 +02:00
}
do_install() {
make prefix=/usr sbindir=/usr/bin DESTDIR=${DESTDIR} sqlite=true libnl=true install
2015-06-02 11:24:45 +02:00
}