wok-4.x annotate airsnort/receipt @ rev 7710
merge
author | fireflyoo <lufeng369@gmail.com> |
---|---|
date | Sun Dec 19 23:29:00 2010 +0800 (2010-12-19) |
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 |