Merge pull request #3631 from ebfe/aircrack

aircrack-ng: update to 1.2rc4.
This commit is contained in:
Juan RP 2016-02-15 08:43:53 +01:00
commit 01d5e36dad

View File

@ -1,9 +1,9 @@
# Template build file for 'aircrack-ng'
pkgname=aircrack-ng
_aircrack_ver=1.2
_aircrack_rc=rc3
_aircrack_rc=rc4
version="${_aircrack_ver}${_aircrack_rc}"
revision=2
revision=1
wrksrc="${pkgname}-${_aircrack_ver}-${_aircrack_rc}"
hostmakedepends="pkg-config"
makedepends="zlib-devel libressl-devel sqlite-devel libnl3-devel"
@ -12,11 +12,17 @@ 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
checksum=d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36
post_extract() {
# detect our cross compilers
sed -i 's,\(mips-\* | arm-\*\),\1 | arm???-*,' autocfg
}
do_build() {
make CC=$CC sqlite=true libnl=true ${makejobs}
make CC=$CC CXX=$CXX sqlite=true libnl=true ${makejobs}
}
do_install() {
make prefix=/usr sbindir=/usr/bin DESTDIR=${DESTDIR} sqlite=true libnl=true install
}