aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ophcrack/APKBUILD
blob: 9dc4af7cf1b7b0efca44919b41ab3d1d6b6a7f77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=ophcrack
pkgver=3.6.1
pkgrel=1
pkgdesc="Windows password cracker based on rainbow tables"
url="http://ophcrack.sourceforge.net/"
arch="all"
license="GPL"
makedepends="$depends_dev expat-dev libressl-dev qt-dev"
source="https://downloads.sourceforge.net/project/ophcrack/ophcrack/$pkgver/ophcrack-$pkgver.tar.bz2"
options="!check"

builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$builddir"
	update_config_sub || return 1
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--target=$CTARGET \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="f54c8d4f1a2c9435eb85707c4c7e2aba10f73356d9ba4e0bbe51b896f250090da1c593b10961b2cd311418e87d86e4723528774603ad7803f2758a821e31f03a  ophcrack-3.6.1.tar.bz2"