wok-current annotate airsnort/receipt @ rev 19028

Up slitaz-tools-boxes: (975)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 03 13:42:07 2016 +0200 (2016-04-03)
parents 5462e43ce103
children 45507bfb2b0d
rev   line source
slaxemulator@7186 1 # SliTaz package receipt.
slaxemulator@7186 2
slaxemulator@7186 3 PACKAGE="airsnort"
slaxemulator@7186 4 VERSION="0.2.7e"
slaxemulator@7186 5 CATEGORY="network"
slaxemulator@7186 6 SHORT_DESC="A wireless LAN (WLAN) tool which recovers encryption keys."
slaxemulator@7186 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15362 8 LICENSE="GPL2"
slaxemulator@7186 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@9884 10 WEB_SITE="http://airsnort.shmoo.com/"
slaxemulator@7186 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@7186 12
pascal@15362 13 DEPENDS="gtk+ libpcap"
pascal@15362 14 BUILD_DEPENDS="gtk+-dev libpcap-dev"
pascal@15362 15
slaxemulator@7186 16 # Rules to configure and make the package.
slaxemulator@7186 17 compile_rules()
slaxemulator@7186 18 {
slaxemulator@7186 19 cd $src
slaxemulator@7186 20 ./configure \
slaxemulator@7186 21 --prefix=/usr \
slaxemulator@7186 22 --infodir=/usr/share/info \
slaxemulator@7186 23 --mandir=/usr/share/man \
slaxemulator@7186 24 $CONFIGURE_ARGS &&
pascal@15362 25 make && make DESTDIR=$DESTDIR install
slaxemulator@7186 26 }
slaxemulator@7186 27
slaxemulator@7186 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7186 29 genpkg_rules()
slaxemulator@7186 30 {
slaxemulator@7186 31 mkdir -p $fs/usr
pascal@15362 32 cp -a $install/usr/bin $fs/usr
slaxemulator@7186 33 }
slaxemulator@7186 34