wok-6.x annotate aircrack-ng/receipt @ rev 3595
merge
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Sun Jun 28 14:26:17 2009 +0000 (2009-06-28) |
parents | 0b800967f060 |
children | c35542f29456 |
rev | line source |
---|---|
pascal@1033 | 1 # SliTaz package receipt. |
pascal@1033 | 2 |
pascal@1033 | 3 PACKAGE="aircrack-ng" |
pascal@1033 | 4 VERSION="1.0-rc1" |
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@1033 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1033 | 9 WEB_SITE="http://www.aircrack-ng.org/" |
pascal@1033 | 10 WGET_URL="http://download.aircrack-ng.org/$TARBALL" |
pascal@2491 | 11 DEPENDS="iw openssl zlib" |
pascal@1443 | 12 BUILD_DEPENDS="openssl-dev" |
pascal@1033 | 13 |
pascal@1033 | 14 # Rules to configure and make the package. |
pascal@1033 | 15 compile_rules() |
pascal@1033 | 16 { |
pascal@1033 | 17 cd $src |
pascal@1443 | 18 make && |
pascal@1033 | 19 make DESTDIR=$PWD/_pkg install |
pascal@1033 | 20 } |
pascal@1033 | 21 |
pascal@1033 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1033 | 23 genpkg_rules() |
pascal@1033 | 24 { |
pascal@1033 | 25 mkdir -p $fs/usr |
pascal@1033 | 26 cp -a $_pkg/usr/local/bin $fs/usr |
pascal@1033 | 27 cp -a $_pkg/usr/local/sbin $fs/usr |
pascal@1033 | 28 } |
pascal@1033 | 29 |