wok annotate ophcrack/receipt @ rev 25502

Up memtest-efi* (6.01)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 15 09:58:15 2023 +0000 (17 months ago)
parents b0069c845544
children 29df00e1e19d
rev   line source
slitaz@3277 1 # SliTaz package receipt.
slitaz@3277 2
slitaz@3277 3 PACKAGE="ophcrack"
slitaz@14471 4 VERSION="3.5.0"
slitaz@3277 5 CATEGORY="security"
slitaz@3277 6 SHORT_DESC="Windows password cracker"
slitaz@3277 7 MAINTAINER="slitaz@objectif-securite.ch"
pascal@15002 8 LICENSE="GPL2"
slitaz@3277 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25470 10 #WEB_SITE="https://ophcrack.sourceforge.net"
pascal@25470 11 WEB_SITE="https://gitlab.com/objectifsecurite/ophcrack/"
pascal@25465 12 WGET_URL="$SF_MIRROR/ophcrack/$TARBALL"
jozee@4970 13 TAGS="password windows"
slitaz@3277 14
pascal@15002 15 DEPENDS="libQtCore libQtGui libqwt5-qt4 openssl expat gcc-lib-base"
pascal@15002 16 BUILD_DEPENDS="Qt4-dev qmake libqwt5-qt4-dev openssl-dev expat-dev"
pascal@15002 17
pascal@24361 18 # What is the latest version available today?
pascal@24361 19 current_version()
pascal@24361 20 {
pascal@24361 21 wget -O - https://sourceforge.net/projects/ophcrack/files/ophcrack/ 2>/dev/null | \
pascal@24361 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 23 sed '/scope="row/!d;s|.*/ophcrack/||;s|/.*||;q'
pascal@24361 24 }
pascal@24361 25
slitaz@3277 26 # Rules to configure and make the package.
slitaz@3277 27 compile_rules()
slitaz@3277 28 {
gokhlayeh@11573 29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
slitaz@3277 30 make
slitaz@3277 31 }
slitaz@3277 32
slitaz@3277 33 # Rules to gen a SliTaz package suitable for Tazpkg.
slitaz@3277 34 genpkg_rules()
slitaz@3277 35 {
slitaz@3277 36 mkdir -p $fs/usr/bin
slitaz@3277 37 cp -a $src/src/ophcrack $fs/usr/bin
slitaz@3277 38 }
slitaz@3277 39