wok view ophcrack/receipt @ rev 25491

Up foomatic-db-nonfree (20221116)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 12:13:24 2022 +0000 (23 months ago)
parents b0069c845544
children 29df00e1e19d
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="https://ophcrack.sourceforge.net"
11 WEB_SITE="https://gitlab.com/objectifsecurite/ophcrack/"
12 WGET_URL="$SF_MIRROR/ophcrack/$TARBALL"
13 TAGS="password windows"
15 DEPENDS="libQtCore libQtGui libqwt5-qt4 openssl expat gcc-lib-base"
16 BUILD_DEPENDS="Qt4-dev qmake libqwt5-qt4-dev openssl-dev expat-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/ophcrack/files/ophcrack/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/ophcrack/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $src/src/ophcrack $fs/usr/bin
38 }