wok view cowpatty/receipt @ rev 24576
updated fswebcam (20140113 -> 20200725)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 10:49:46 2022 +0100 (2022-02-27) |
parents | 364099c9aff2 |
children | e1e1678c5265 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cowpatty"
4 VERSION="4.8"
5 CATEGORY="network"
6 SHORT_DESC="Wireless WPA/WPA2 PSK handshake cracking utility."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/joswr1ght/cowpatty"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 #WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL"
13 WGET_URL="https://github.com/joswr1ght/$PACKAGE/$VERSION/$TARBALL"
15 DEPENDS="openssl libpcap"
16 BUILD_DEPENDS="openssl-dev libpcap-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make CC=gcc -j 1 || return 1
29 make strip CC=gcc || return 1
30 make BINDIR="/usr/bin" DESTDIR="$DESTDIR" CC=gcc install
31 install -D -m644 dict $DESTDIR/usr/share/cowpatty/dict
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/cowpatty $fs/usr/share
40 }