wok-4.x view aircrack-ng/receipt @ rev 6344

Up: liboil, liboil-dev to 0.3.17.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Sep 19 14:21:08 2010 +0000 (2010-09-19)
parents b735ac9efe64
children 0b4cf0d9e1b5
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="iw openssl zlib"
12 BUILD_DEPENDS="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 || exit 1
19 sed -i s#/man/man1#/share/man/man1# common.mak || exit 1
21 # fix build with gcc45
22 sed -i s/-Werror// common.mak || exit 1
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 }