wok view airsnort/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents 82c8f22f40ff
children 617dbdeb6f7e
line source
1 # SliTaz package receipt.
3 PACKAGE="airsnort"
4 VERSION="0.2.7e"
5 CATEGORY="network"
6 SHORT_DESC="A wireless LAN (WLAN) tool which recovers encryption keys."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="gtk+ libpcap"
9 BUILD_DEPENDS="gtk+-dev libpcap-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://airsnort.shmoo.com/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }