wok-6.x annotate aircrack-ng/receipt @ rev 19734
libdb: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 17 14:52:48 2017 +0100 (2017-02-17) |
parents | 45507bfb2b0d |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
pascal@1033 | 1 # SliTaz package receipt. |
pascal@1033 | 2 |
pascal@1033 | 3 PACKAGE="aircrack-ng" |
slaxemulator@5388 | 4 VERSION="1.1" |
pascal@1033 | 5 CATEGORY="network" |
pascal@1033 | 6 SHORT_DESC="802.11 WEP and WPA-PSK keys cracking program." |
pascal@1033 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL2" |
pascal@1033 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1033 | 10 WEB_SITE="http://www.aircrack-ng.org/" |
pascal@1033 | 11 WGET_URL="http://download.aircrack-ng.org/$TARBALL" |
pascal@15201 | 12 |
slaxemulator@13169 | 13 DEPENDS="aircrack-ng-oui iw openssl sqlite zlib pylorcon" |
slaxemulator@13169 | 14 BUILD_DEPENDS="sqlite-dev pylorcon openssl-dev" |
pascal@1033 | 15 |
pascal@1033 | 16 # Rules to configure and make the package. |
pascal@1033 | 17 compile_rules() |
pascal@1033 | 18 { |
gokhlayeh@8615 | 19 sed -i s#/usr/local#/usr#g common.mak || return 1 |
gokhlayeh@8615 | 20 sed -i s#/man/man1#/share/man/man1# common.mak || return 1 |
al@19264 | 21 |
erjo@5896 | 22 # fix build with gcc45 |
gokhlayeh@8615 | 23 sed -i s/-Werror// common.mak || return 1 |
al@19264 | 24 |
slaxemulator@13169 | 25 make SQLITE=true unstable=true && |
slaxemulator@13169 | 26 make SQLITE=true unstable=true DESTDIR=$DESTDIR install |
slaxemulator@13169 | 27 sed -i 's|/usr/local||g' $DESTDIR/usr/sbin/airodump-ng-oui-update |
pascal@1033 | 28 } |
pascal@1033 | 29 |
pascal@1033 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1033 | 31 genpkg_rules() |
pascal@1033 | 32 { |
pascal@1033 | 33 mkdir -p $fs/usr |
pascal@15201 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15201 | 35 cp -a $install/usr/sbin $fs/usr |
pascal@1033 | 36 } |