wok-current view ophcrack/receipt @ rev 25130

e4rat: modified recipe
author Hans-G?nter Theisgen
date Wed Jun 29 07:04:49 2022 +0100 (2022-06-29)
parents 7896f0694ef6
children 65ff25c4de90
line source
1 # SliTaz package receipt.
3 PACKAGE="ophcrack"
4 VERSION="3.5.0"
5 CATEGORY="security"
6 SHORT_DESC="Windows password cracker"
7 MAINTAINER="slitaz@objectif-securite.ch"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://ophcrack.sourceforge.net"
11 WGET_URL="http://downloads.sourceforge.net/ophcrack/$TARBALL"
12 TAGS="password windows"
14 DEPENDS="libQtCore libQtGui libqwt5-qt4 openssl expat gcc-lib-base"
15 BUILD_DEPENDS="Qt4-dev qmake libqwt5-qt4-dev openssl-dev expat-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/ophcrack/files/ophcrack/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/ophcrack/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure --prefix=/usr $CONFIGURE_ARGS &&
29 make
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/src/ophcrack $fs/usr/bin
37 }