aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ophcrack/APKBUILD
blob: 475b1fd78b7fa044e62208c9d9756d8b963f1474 (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=ophcrack
pkgver=3.8.0
pkgrel=0
pkgdesc="Windows password cracker based on rainbow tables"
url="http://ophcrack.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
makedepends="expat-dev openssl-dev"
source="https://downloads.sourceforge.net/project/ophcrack/ophcrack/$pkgver/ophcrack-$pkgver.tar.bz2
	"
options="!check" # No testsuite

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--prefix=/usr \
		--disable-gui
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="c66276b72299744d3e0c9fc14220c7f568e383bd324c1ede228bda5d51da78db817388421c9f5f8cd2f18687e7e53cfb0c65bcc0354b3d55ac16324c61f62dbd  ophcrack-3.8.0.tar.bz2"