void-packages/srcpkgs/coWPAtty/template
nexolight 03d17c01ee new package: coWPAtty-4.6
Closes: #2629 [via git-merge-pr]
2018-09-12 11:30:15 -07:00

27 lines
698 B
Bash

# Template file for 'coWPAtty'
pkgname=coWPAtty
_pkgname=cowpatty
version=4.6
revision=1
wrksrc="${_pkgname}-${version}"
build_style=gnu-makefile
make_use_env=1
make_install_args="DESTDIR=/usr/ BINDIR=/usr/bin"
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
}