mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
aircrack-ng: fix cross build
This commit is contained in:
parent
b09c416728
commit
1b68bc1d44
1 changed files with 8 additions and 2 deletions
|
@ -14,9 +14,15 @@ license="GPL-2"
|
||||||
distfiles="http://download.aircrack-ng.org/${pkgname}-${_aircrack_ver}-${_aircrack_rc}.tar.gz"
|
distfiles="http://download.aircrack-ng.org/${pkgname}-${_aircrack_ver}-${_aircrack_rc}.tar.gz"
|
||||||
checksum=d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36
|
checksum=d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36
|
||||||
|
|
||||||
do_build() {
|
post_extract() {
|
||||||
make CC=$CC sqlite=true libnl=true ${makejobs}
|
# 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() {
|
do_install() {
|
||||||
make prefix=/usr sbindir=/usr/bin DESTDIR=${DESTDIR} sqlite=true libnl=true install
|
make prefix=/usr sbindir=/usr/bin DESTDIR=${DESTDIR} sqlite=true libnl=true install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue