wok annotate airsnort/receipt @ rev 13311
freerdp-dev: update genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 29 12:46:44 2012 +0200 (2012-08-29) |
parents | 82c8f22f40ff |
children | 617dbdeb6f7e |
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" |
erjo@9884 | 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 |