wok diff cowpatty/receipt @ rev 17533

Add libssh2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 21 17:12:27 2015 +0100 (2015-01-21)
parents 18ed3d5d2389
children 3132d67b7e38
line diff
     1.1 --- a/cowpatty/receipt	Sun Apr 24 21:47:17 2011 +0000
     1.2 +++ b/cowpatty/receipt	Wed Jan 21 17:12:27 2015 +0100
     1.3 @@ -5,27 +5,29 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="Wireless WPA/WPA2 PSK handshake cracking utility."
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="openssl libpcap"
     1.8 -BUILD_DEPENDS="openssl-dev libpcap-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tgz"
    1.11  WEB_SITE="http://www.willhackforsushi.com/?page_id=50"
    1.12  WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL"
    1.13  
    1.14 +DEPENDS="openssl libpcap"
    1.15 +BUILD_DEPENDS="openssl-dev libpcap-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21  	make || return 1
    1.22  	make strip || return 1
    1.23 -	make BINDIR="/usr/bin" DESTDIR="$PWD/_pkg/" install
    1.24 -	install -D -m644 dict $PWD/_pkg/usr/share/cowpatty/dict
    1.25 +	make BINDIR="/usr/bin" DESTDIR="$DESTDIR" install
    1.26 +	install -D -m644 dict $DESTDIR/usr/share/cowpatty/dict
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr/share
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/usr/share/cowpatty $fs/usr/share
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/share/cowpatty $fs/usr/share
    1.37  }
    1.38