wok-next annotate airsnort/receipt @ rev 19264
Compress manpages (in $install/usr/share/man/...)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 00:54:49 2016 +0300 (2016-07-04) |
parents | 617dbdeb6f7e |
children | 11b5e93cb5f2 |
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 ./configure \ |
slaxemulator@7186 | 20 --prefix=/usr \ |
slaxemulator@7186 | 21 --infodir=/usr/share/info \ |
slaxemulator@7186 | 22 --mandir=/usr/share/man \ |
slaxemulator@7186 | 23 $CONFIGURE_ARGS && |
pascal@15362 | 24 make && make DESTDIR=$DESTDIR install |
al@19264 | 25 |
al@19264 | 26 cook_compress_manpages |
slaxemulator@7186 | 27 } |
slaxemulator@7186 | 28 |
slaxemulator@7186 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7186 | 30 genpkg_rules() |
slaxemulator@7186 | 31 { |
slaxemulator@7186 | 32 mkdir -p $fs/usr |
pascal@15362 | 33 cp -a $install/usr/bin $fs/usr |
slaxemulator@7186 | 34 } |
slaxemulator@7186 | 35 |