wok-current view ophcrack/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | b0069c845544 |
children |
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 }