2021-12-19 23:15:53 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE="https://www.aircrack-ng.org/"
|
2018-12-09 17:39:42 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="WiFi security auditing tools suite"
|
2019-01-24 20:15:44 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2021-12-19 23:15:53 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="Marlin Sööse <marlin.soose@laro.se>"
|
2022-02-20 06:29:07 +01:00
|
|
|
_COMMIT=f94a3fe3f1c74938169317a6395b7f72452499c4
|
2021-12-19 23:15:53 +01:00
|
|
|
TERMUX_PKG_VERSION="2:2021.12.19-${_COMMIT:0:8}"
|
2022-03-01 16:55:57 +01:00
|
|
|
TERMUX_PKG_REVISION=2
|
2021-12-19 23:15:53 +01:00
|
|
|
TERMUX_PKG_SRCURL="https://github.com/aircrack-ng/aircrack-ng/archive/$_COMMIT.tar.gz"
|
2022-02-20 06:29:07 +01:00
|
|
|
TERMUX_PKG_SHA256="d79c02351fe389c41e6c29ef4381109f78ae5f3ba552f776ee08b6a3cbd3aa13"
|
2021-12-19 23:15:53 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libc++, libnl, openssl, libpcap"
|
2021-02-23 16:14:50 +01:00
|
|
|
# static build gives errors:
|
|
|
|
# error: undefined reference to 'ac_crypto_engine_init'
|
|
|
|
# error: cannot find the library 'libaircrack-ce-wpa.la' or unhandled argument 'libaircrack-ce-wpa.la'
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-static"
|
2018-12-09 17:39:42 +01:00
|
|
|
|
2021-01-05 12:15:48 +01:00
|
|
|
termux_step_pre_configure() {
|
2021-12-19 23:15:53 +01:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2021-01-05 12:15:48 +01:00
|
|
|
}
|
2021-03-28 15:45:07 +02:00
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
2021-12-19 23:15:53 +01:00
|
|
|
ln -sf libaircrack-ce-wpa-1.6.0.so $TERMUX_PREFIX/lib/libaircrack-ce-wpa.so
|
2021-03-28 15:45:07 +02:00
|
|
|
}
|