wok-6.x view aircrack-ng/receipt @ rev 14772
Add some TAZPANEL_DAEMON
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 30 09:55:32 2013 +0200 (2013-06-30) |
parents | 0b4cf0d9e1b5 |
children | f4c22f009037 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.aircrack-ng.org/"
10 WGET_URL="http://download.aircrack-ng.org/$TARBALL"
11 DEPENDS="aircrack-ng-oui iw openssl sqlite zlib pylorcon"
12 BUILD_DEPENDS="sqlite-dev pylorcon openssl-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i s#/usr/local#/usr#g common.mak || return 1
19 sed -i s#/man/man1#/share/man/man1# common.mak || return 1
21 # fix build with gcc45
22 sed -i s/-Werror// common.mak || return 1
24 make SQLITE=true unstable=true &&
25 make SQLITE=true unstable=true DESTDIR=$DESTDIR install
26 sed -i 's|/usr/local||g' $DESTDIR/usr/sbin/airodump-ng-oui-update
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/sbin $fs/usr
35 }