wok view asleap/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 9af0e03b8ad0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="asleap"
4 VERSION="2.2"
5 CATEGORY="network"
6 SHORT_DESC="Actively recover LEAP/PPTP passwords."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 DEPENDS="openssl libpcap"
10 BUILD_DEPENDS="openssl-dev libpcap-dev"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 # WEB_SITE="http://www.willhackforsushi.com/Asleap.html"
13 WEB_SITE="https://www.willhackforsushi.com/?page_id=41"
14 WGET_URL="https://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/code\/asleap/!d;/MD5/!d;s|.*asleap-||;s|.tgz.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 make
28 install -D asleap $DESTDIR/usr/bin/asleap
29 install -D genkeys $DESTDIR/usr/bin/genkeys
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }