wok-next view aircrack-ng/receipt @ rev 19655
Up mtdev, yandex-disk; add libevdev, libinput.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 03 15:33:33 2017 +0200 (2017-03-03) |
parents | 45507bfb2b0d |
children | 2985612f2b3f |
line source
1 # SliTaz package receipt.
3 PACKAGE="aircrack-ng"
4 VERSION="1.1"
5 CATEGORY="network"
6 SHORT_DESC="802.11 WEP and WPA-PSK keys cracking program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.aircrack-ng.org/"
11 WGET_URL="http://download.aircrack-ng.org/$TARBALL"
13 DEPENDS="aircrack-ng-oui iw openssl sqlite zlib pylorcon"
14 BUILD_DEPENDS="sqlite-dev pylorcon openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i s#/usr/local#/usr#g common.mak || return 1
20 sed -i s#/man/man1#/share/man/man1# common.mak || return 1
22 # fix build with gcc45
23 sed -i s/-Werror// common.mak || return 1
25 make SQLITE=true unstable=true &&
26 make SQLITE=true unstable=true DESTDIR=$DESTDIR install
27 sed -i 's|/usr/local||g' $DESTDIR/usr/sbin/airodump-ng-oui-update
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/sbin $fs/usr
36 }