# Contributor: Leonardo Arena # Maintainer: setglobal pkgname = 'ophcrack' setglobal pkgver = '3.7.0' setglobal pkgrel = '0' setglobal pkgdesc = '"Windows password cracker based on rainbow tables'" setglobal url = '"http://ophcrack.sourceforge.net/'" setglobal arch = '"all'" setglobal license = '"GPL'" setglobal makedepends = ""$depends_dev expat-dev libressl-dev qt-dev"" setglobal source = ""https://downloads.sourceforge.net/project/ophcrack/ophcrack/$pkgver/ophcrack-$pkgver.tar.bz2"" setglobal options = '"!check'" setglobal builddir = ""$srcdir"/$pkgname-$pkgver" proc prepare { cd $builddir update_config_sub } proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --target=$CTARGET \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make } proc package { cd $builddir make DESTDIR="$pkgdir" install } setglobal sha512sums = '"27e73979ca3d733629b9b34c490488cc27140efb8b90d266f270c0b95572cf40319a3fb658c02448fc7a3b825cf05c18a69f5d91bd0656d8410a30645f8dc8c6 ophcrack-3.7.0.tar.bz2'"