2014-03-10 01:31:27 +01:00
|
|
|
# Template build file for 'aircrack-ng'
|
2015-12-05 19:09:40 +01:00
|
|
|
pkgname=aircrack-ng
|
2014-03-10 01:31:27 +01:00
|
|
|
_aircrack_ver=1.2
|
2016-02-15 07:36:10 +01:00
|
|
|
_aircrack_rc=rc4
|
2014-11-29 21:25:12 +01:00
|
|
|
version="${_aircrack_ver}${_aircrack_rc}"
|
2016-02-15 07:36:10 +01:00
|
|
|
revision=1
|
2014-11-29 21:25:12 +01:00
|
|
|
wrksrc="${pkgname}-${_aircrack_ver}-${_aircrack_rc}"
|
2015-02-24 10:15:34 +01:00
|
|
|
hostmakedepends="pkg-config"
|
2015-03-27 10:50:40 +01:00
|
|
|
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 21:25:12 +01:00
|
|
|
distfiles="http://download.aircrack-ng.org/${pkgname}-${_aircrack_ver}-${_aircrack_rc}.tar.gz"
|
2016-02-15 07:36:10 +01:00
|
|
|
checksum=d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36
|
2015-06-02 11:24:45 +02:00
|
|
|
|
2016-02-15 08:22:23 +01:00
|
|
|
post_extract() {
|
|
|
|
# detect our cross compilers
|
|
|
|
sed -i 's,\(mips-\* | arm-\*\),\1 | arm???-*,' autocfg
|
|
|
|
}
|
|
|
|
|
2015-06-02 11:24:45 +02:00
|
|
|
do_build() {
|
2016-02-15 08:22:23 +01:00
|
|
|
make CC=$CC CXX=$CXX sqlite=true libnl=true ${makejobs}
|
2015-06-02 11:24:45 +02:00
|
|
|
}
|
2016-02-15 08:22:23 +01:00
|
|
|
|
2015-06-02 11:24:45 +02:00
|
|
|
do_install() {
|
2015-12-05 19:09:40 +01:00
|
|
|
make prefix=/usr sbindir=/usr/bin DESTDIR=${DESTDIR} sqlite=true libnl=true install
|
2015-06-02 11:24:45 +02:00
|
|
|
}
|