31 lines
838 B
Plaintext
31 lines
838 B
Plaintext
# Description: Complete suite of tools to assess WiFi network security
|
|
# URL: https://github.com/aircrack-ng/aircrack-ng
|
|
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
|
|
# Depends on: ethtool hwloc libnl libpcap openssl
|
|
|
|
name=aircrack-ng
|
|
version=1.6
|
|
release=1
|
|
source=(https://github.com/$name/$name/archive/$version/$name-$version.tar.gz
|
|
add-manufacturer-col-to-client-list.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
#patch -p1 -i $SRC/add-manufacturer-col-to-client-list.patch
|
|
|
|
export CFLAGS+=" -fcommon"
|
|
|
|
echo $version > ./VERSION
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
./configure --prefix=/usr --libexecdir=/usr/lib
|
|
|
|
# remove default optimization flags
|
|
find . -name Makefile -exec \
|
|
sed -i -e '/CFLAGS =/s/-O3 //g' \
|
|
-e '/CXXFLAGS =/s/-O3 //g' {} \;
|
|
|
|
make V=1
|
|
make DESTDIR=$PKG install
|
|
}
|