2015-12-06 16:04:38 +00:00
|
|
|
# Template file for 'hashcat'
|
|
|
|
pkgname=hashcat
|
2016-07-01 16:58:49 +00:00
|
|
|
version=3.00
|
2015-12-06 16:04:38 +00:00
|
|
|
revision=1
|
2016-07-01 16:58:49 +00:00
|
|
|
build_style=gnu-makefile
|
|
|
|
make_build_target="native"
|
|
|
|
make_build_args="LFLAGS=$LDFLAGS"
|
|
|
|
makedepends="gmp-devel opencl2-headers"
|
2015-12-06 16:04:38 +00:00
|
|
|
short_desc="Advanced CPU-based password recovery utility"
|
|
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://hashcat.net/hashcat/"
|
2016-07-01 16:58:49 +00:00
|
|
|
distfiles="https://github.com/hashcat/hashcat/archive/v${version}.tar.gz"
|
|
|
|
checksum=0283791b91db9dd7ee7431d8975c63419c73232945b76eedcefbe12becfa19c4
|
2015-12-06 16:04:38 +00:00
|
|
|
|
2016-07-01 16:58:49 +00:00
|
|
|
CFLAGS="-W -Wall -std=c99 -Iinclude/ -IOpenCL/"
|
2015-12-18 15:25:29 +00:00
|
|
|
|
2016-07-01 16:58:49 +00:00
|
|
|
pre_build() {
|
|
|
|
sed -i -e 's|-ldl|-ldl $(LDFLAGS)|g' -e 's| -s$||g' src/Makefile
|
2015-12-06 16:04:38 +00:00
|
|
|
}
|
|
|
|
|
2016-07-01 16:58:49 +00:00
|
|
|
post_install() {
|
|
|
|
rm -f ${DESTDIR}/usr/share/docs/hashcat/license.txt
|
2015-12-06 16:04:38 +00:00
|
|
|
vlicense docs/license.txt
|
|
|
|
}
|