wok-next diff airsnort/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 11b5e93cb5f2
children d5aab818505e
line diff
     1.1 --- a/airsnort/receipt	Tue Jul 05 15:34:01 2016 +0300
     1.2 +++ b/airsnort/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,32 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="airsnort"
     1.8  VERSION="0.2.7e"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="A wireless LAN (WLAN) tool which recovers encryption keys."
    1.11 +SHORT_DESC="A wireless LAN (WLAN) tool which recovers encryption keys"
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://airsnort.shmoo.com/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS="gtk+ libpcap"
    1.20 -BUILD_DEPENDS="gtk+-dev libpcap-dev"
    1.21 +BUILD_DEPENDS="gtk2-dev libpcap-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	./configure \
    1.27 -		--prefix=/usr \
    1.28 -		--infodir=/usr/share/info \
    1.29 -		--mandir=/usr/share/man \
    1.30 -		$CONFIGURE_ARGS &&
    1.31 -	make && make DESTDIR=$DESTDIR install
    1.32 +compile_rules() {
    1.33 +	./configure $CONFIGURE_ARGS &&
    1.34 +	make &&
    1.35 +	make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	mkdir -p $fs/usr
    1.42 -	cp -a $install/usr/bin $fs/usr
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="gtk2 libpcap"
    1.46  }