void-packages/srcpkgs/coWPAtty/template
2018-11-05 01:40:30 +01:00

28 lines
725 B
Bash

# Template file for 'coWPAtty'
pkgname=coWPAtty
_pkgname=cowpatty
version=4.6
revision=2
wrksrc="${_pkgname}-${version}"
build_style=gnu-makefile
make_use_env=1
make_install_args="DESTDIR=/usr/ BINDIR=/usr/bin"
disable_parallel_build=yes
makedepends="libpcap-devel libressl-devel"
short_desc="WPA-PSK dictionary attack"
maintainer="nexolight <snow.dream.ch@gmail.com>"
license="GPL-2.0-only"
homepage="http://www.willhackforsushi.com"
distfiles="http://www.willhackforsushi.com/code/${_pkgname}/${version}/${_pkgname}-${version}.tgz"
checksum=cd3fc113e5052d3ee08ab71aa87edf772d044f760670c73fde5d5581d7803bc2
CFLAGS="-DOPENSSL"
pre_build() {
sed -i 's|^CFLAGS.*||g' Makefile
}
do_install() {
vbin cowpatty
vbin genpmk
}