aircrack-ng: fix cross build

This commit is contained in:
Michael Gehring 2016-02-15 08:22:23 +01:00
parent b09c416728
commit 1b68bc1d44

View File

@ -14,9 +14,15 @@ license="GPL-2"
distfiles="http://download.aircrack-ng.org/${pkgname}-${_aircrack_ver}-${_aircrack_rc}.tar.gz"
checksum=d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36
do_build() {
make CC=$CC sqlite=true libnl=true ${makejobs}
post_extract() {
# detect our cross compilers
sed -i 's,\(mips-\* | arm-\*\),\1 | arm???-*,' autocfg
}
do_build() {
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
}