blob: e52ad8e05c6555b90560166f0f79f58eda3751fc (
plain)
1 # Description: Sript to interact with aicrack-ng which allows WEP/WPA attacks
2 # URL: http://airoscript.aircrack-ng.org/
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: Jose V Beneyto, sepen at crux dot nu
5 # Depends on: aircrack-ng
6
7 name=airoscript-ng
8 version=1.1
9 release=1
10 source=(http://airoscript.googlecode.com/files/${name}_$version.tgz)
11
12 build() {
13 cd $name
14
15 sed -i Makefile-Linux \
16 -e 's|bindir=.*|bindir=$(prefix)/bin|' \
17 -e 's|mandir=.*|mandir=$(prefix)/man|' \
18 -e 's|install-docs: .*|install-docs: install-manpages|' \
19 -e '/install-locale \\/d'
20
21 make -f Makefile-Linux install \
22 prefix=$PKG/usr \
23 bindir=$PKG/usr/bin \
24 mandir=$PKG/usr/man \
25 aircrack_prefix="\/usr"
26
27 rm -rf $PKG/usr/share/{doc,locale,$name/airosperl}
28 sed -e 's|usr/local|usr|g' \
29 -i $PKG/usr/bin/$name $PKG/usr/etc/$name.conf
30 }
|