af9213c68f
Closes: #21428 [via git-merge-pr]
32 lines
1,006 B
Bash
32 lines
1,006 B
Bash
# Template file for 'hashcat'
|
|
pkgname=hashcat
|
|
version=5.1.0
|
|
revision=2
|
|
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
|
|
make_install_args="$make_build_args"
|
|
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
|
|
|
|
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
|
broken="Not supported on big endian"
|
|
fi
|
|
|
|
post_extract() {
|
|
sed '/^CC/d' -i src/Makefile
|
|
}
|
|
post_install() {
|
|
rm -f ${DESTDIR}/usr/share/docs/hashcat/license.txt
|
|
vlicense docs/license.txt
|
|
}
|