wok-next annotate aircrack-ng/receipt @ rev 5614
catalyst: fix compile with 2.6.33.4 and WGET_URL
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu May 20 10:43:52 2010 -0400 (2010-05-20) |
parents | c35542f29456 |
children | 72a8ac68c219 |
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@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 |
pankso@4055 | 18 sed -i s#/usr/local#/usr#g common.mak || exit 1 |
pankso@4055 | 19 sed -i s#/man/man1#/share/man/man1# common.mak || exit 1 |
pascal@1443 | 20 make && |
pascal@1033 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1033 | 22 } |
pascal@1033 | 23 |
pascal@1033 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1033 | 25 genpkg_rules() |
pascal@1033 | 26 { |
pascal@1033 | 27 mkdir -p $fs/usr |
pankso@4055 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@4055 | 29 cp -a $_pkg/usr/sbin $fs/usr |
pascal@1033 | 30 } |
pascal@1033 | 31 |