void-packages/srcpkgs/hashcat/template
2020-08-05 01:39:13 +02:00

34 lines
1 KiB
Bash

# Template file for 'hashcat'
pkgname=hashcat
version=6.1.1
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
SHARED_FOLDER=/usr/lib/hashcat"
make_use_env=yes
make_install_args="$make_build_args"
makedepends="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=39c140bbb3c0bdb1564bfa9b9a1cff49115a42f4c9c19e9b066b617aea309f80
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
broken="Not supported on big endian"
fi
post_extract() {
vsed '/^CC/d' -i src/Makefile
}
post_install() {
rm -f ${DESTDIR}/usr/share/docs/hashcat/license.txt
vlicense docs/license.txt
}