wok annotate 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 |
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" |
slitaz@3277 | 10 WEB_SITE="http://ophcrack.sourceforge.net" |
slitaz@3277 | 11 WGET_URL="http://downloads.sourceforge.net/ophcrack/$TARBALL" |
jozee@4970 | 12 TAGS="password windows" |
slitaz@3277 | 13 |
pascal@15002 | 14 DEPENDS="libQtCore libQtGui libqwt5-qt4 openssl expat gcc-lib-base" |
pascal@15002 | 15 BUILD_DEPENDS="Qt4-dev qmake libqwt5-qt4-dev openssl-dev expat-dev" |
pascal@15002 | 16 |
pascal@24361 | 17 # What is the latest version available today? |
pascal@24361 | 18 current_version() |
pascal@24361 | 19 { |
pascal@24361 | 20 wget -O - https://sourceforge.net/projects/ophcrack/files/ophcrack/ 2>/dev/null | \ |
pascal@24361 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24361 | 22 sed '/scope="row/!d;s|.*/ophcrack/||;s|/.*||;q' |
pascal@24361 | 23 } |
pascal@24361 | 24 |
slitaz@3277 | 25 # Rules to configure and make the package. |
slitaz@3277 | 26 compile_rules() |
slitaz@3277 | 27 { |
gokhlayeh@11573 | 28 ./configure --prefix=/usr $CONFIGURE_ARGS && |
slitaz@3277 | 29 make |
slitaz@3277 | 30 } |
slitaz@3277 | 31 |
slitaz@3277 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slitaz@3277 | 33 genpkg_rules() |
slitaz@3277 | 34 { |
slitaz@3277 | 35 mkdir -p $fs/usr/bin |
slitaz@3277 | 36 cp -a $src/src/ophcrack $fs/usr/bin |
slitaz@3277 | 37 } |
slitaz@3277 | 38 |