wok-next diff asleap/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a3c581bf52b8
children 3bc985504162
line diff
     1.1 --- a/asleap/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/asleap/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,31 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="asleap"
     1.8  VERSION="2.2"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Actively recover LEAP/PPTP passwords."
    1.11 -MAINTAINER="slaxemulator@gmail.com"
    1.12 +SHORT_DESC="Actively recover LEAP/PPTP passwords"
    1.13 +MAINTAINER="devel@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 -DEPENDS="openssl libpcap"
    1.16 -BUILD_DEPENDS="openssl-dev libpcap-dev"
    1.17 +WEB_SITE="http://www.willhackforsushi.com/?page_id=41"
    1.18 +
    1.19  TARBALL="$PACKAGE-$VERSION.tgz"
    1.20 -WEB_SITE="http://www.willhackforsushi.com/?page_id=41"
    1.21  WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	cd $src
    1.27 -	make
    1.28 -	install -D asleap $DESTDIR/usr/bin/asleap
    1.29 -	install -D genkeys $DESTDIR/usr/bin/genkeys
    1.30 +BUILD_DEPENDS="openssl-dev libpcap-dev"
    1.31 +
    1.32 +compile_rules() {
    1.33 +	make || return 1
    1.34 +	install -Dm755 asleap  $install/usr/bin/asleap
    1.35 +	install -Dm755 genkeys $install/usr/bin/genkeys
    1.36  
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="openssl libpcap"
    1.47  }
    1.48 -