wok view ophcrack/receipt @ rev 25430

Up os-prober (1.81)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 19 06:26:39 2022 +0000 (2022-08-19)
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 }