wok-next annotate aircrack-ng/receipt @ rev 16995

xterm: delete local manpage, it looks incorrect
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Aug 10 03:54:11 2014 +0200 (2014-08-10)
parents aa9d73cf312d
children 45507bfb2b0d
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 {
pascal@1033 19 cd $src
gokhlayeh@8615 20 sed -i s#/usr/local#/usr#g common.mak || return 1
gokhlayeh@8615 21 sed -i s#/man/man1#/share/man/man1# common.mak || return 1
erjo@5896 22
erjo@5896 23 # fix build with gcc45
gokhlayeh@8615 24 sed -i s/-Werror// common.mak || return 1
erjo@5896 25
slaxemulator@13169 26 make SQLITE=true unstable=true &&
slaxemulator@13169 27 make SQLITE=true unstable=true DESTDIR=$DESTDIR install
slaxemulator@13169 28 sed -i 's|/usr/local||g' $DESTDIR/usr/sbin/airodump-ng-oui-update
pascal@1033 29 }
pascal@1033 30
pascal@1033 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1033 32 genpkg_rules()
pascal@1033 33 {
pascal@1033 34 mkdir -p $fs/usr
pascal@15201 35 cp -a $install/usr/bin $fs/usr
pascal@15201 36 cp -a $install/usr/sbin $fs/usr
pascal@1033 37 }
pascal@1033 38