# SliTaz package receipt. PACKAGE="ophcrack" VERSION="3.5.0" CATEGORY="security" SHORT_DESC="Windows password cracker" MAINTAINER="slitaz@objectif-securite.ch" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" #WEB_SITE="https://ophcrack.sourceforge.net" WEB_SITE="https://gitlab.com/objectifsecurite/ophcrack/" WGET_URL="$SF_MIRROR/ophcrack/$TARBALL" TAGS="password windows" DEPENDS="libQtCore libQtGui libqwt5-qt4 openssl expat gcc-lib-base" BUILD_DEPENDS="Qt4-dev qmake libqwt5-qt4-dev openssl-dev expat-dev" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/ophcrack/files/ophcrack/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/ophcrack/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { ./configure --prefix=/usr $CONFIGURE_ARGS && make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/src/ophcrack $fs/usr/bin }