wok-next diff ophcrack/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 7896f0694ef6
children d5aab818505e
line diff
     1.1 --- a/ophcrack/receipt	Sat Aug 10 21:12:16 2013 +0000
     1.2 +++ b/ophcrack/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="ophcrack"
     1.8  VERSION="3.5.0"
     1.9 @@ -6,26 +6,23 @@
    1.10  SHORT_DESC="Windows password cracker"
    1.11  MAINTAINER="slitaz@objectif-securite.ch"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://ophcrack.sourceforge.net"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WEB_SITE="http://ophcrack.sourceforge.net"
    1.17 -WGET_URL="http://downloads.sourceforge.net/ophcrack/$TARBALL"
    1.18 -TAGS="password windows"
    1.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="libQtCore libQtGui libqwt5-qt4 openssl expat gcc-lib-base"
    1.22  BUILD_DEPENDS="Qt4-dev qmake libqwt5-qt4-dev openssl-dev expat-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.29 +compile_rules() {
    1.30 +	./configure \
    1.31 +		--prefix=/usr \
    1.32 +		$CONFIGURE_ARGS &&
    1.33  	make
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 +genpkg_rules() {
    1.40  	mkdir -p $fs/usr/bin
    1.41  	cp -a $src/src/ophcrack $fs/usr/bin
    1.42 +	DEPENDS="libQtCore libQtGui libqwt5-qt4 openssl expat gcc-lib-base"
    1.43 +	TAGS="password windows"
    1.44  }
    1.45 -