27 lines
885 B
Bash
27 lines
885 B
Bash
# Template file for 'hashcat'
|
|
pkgname=hashcat
|
|
version=5.1.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_args="PREFIX=/usr
|
|
USE_SYSTEM_OPENCL=1 USE_SYSTEM_XXHASH=1
|
|
DEPS_OPENCL_PATH=${XBPS_CROSS_BASE}/usr/include
|
|
DEPS_XXHASH_PATH=${XBPS_CROSS_BASE}/usr/include"
|
|
make_use_env=yes
|
|
makedepends="gmp-devel opencl2-headers xxHash-devel"
|
|
checkdepends="perl"
|
|
short_desc="Advanced CPU-based password recovery utility"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://hashcat.net/hashcat/"
|
|
changelog="https://raw.githubusercontent.com/hashcat/hashcat/master/docs/changes.txt"
|
|
distfiles="https://hashcat.net/files/hashcat-${version}.tar.gz"
|
|
checksum=283beaa68e1eab41de080a58bb92349c8e47a2bb1b93d10f36ea30f418f1e338
|
|
|
|
post_extract() {
|
|
sed '/^CC/d' -i src/Makefile
|
|
}
|
|
post_install() {
|
|
rm -f ${DESTDIR}/usr/share/docs/hashcat/license.txt
|
|
vlicense docs/license.txt
|
|
}
|