wok-6.x annotate airsnort/receipt @ rev 8178
imported patch toolchain/elfutils.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | |
children | 5462e43ce103 |
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" |
slaxemulator@7186 | 8 DEPENDS="gtk+ libpcap" |
slaxemulator@7186 | 9 BUILD_DEPENDS="gtk+-dev libpcap-dev" |
slaxemulator@7186 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7186 | 11 WEB_SITE="""http://airsnort.shmoo.com/" |
slaxemulator@7186 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7186 | 13 |
slaxemulator@7186 | 14 # Rules to configure and make the package. |
slaxemulator@7186 | 15 compile_rules() |
slaxemulator@7186 | 16 { |
slaxemulator@7186 | 17 cd $src |
slaxemulator@7186 | 18 ./configure \ |
slaxemulator@7186 | 19 --prefix=/usr \ |
slaxemulator@7186 | 20 --infodir=/usr/share/info \ |
slaxemulator@7186 | 21 --mandir=/usr/share/man \ |
slaxemulator@7186 | 22 $CONFIGURE_ARGS && |
slaxemulator@7186 | 23 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7186 | 24 } |
slaxemulator@7186 | 25 |
slaxemulator@7186 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7186 | 27 genpkg_rules() |
slaxemulator@7186 | 28 { |
slaxemulator@7186 | 29 mkdir -p $fs/usr |
slaxemulator@7186 | 30 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7186 | 31 } |
slaxemulator@7186 | 32 |