# Template file for 'afl'
pkgname=afl
version=1.80b
revision=1
build_style=gnu-makefile
# x86 only currently
only_for_archs="i686 x86_64"
short_desc="American fuzzy lop - a brute-force fuzzer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Apache-2.0"
homepage="http://lcamtuf.coredump.cx/afl/"
distfiles="http://lcamtuf.coredump.cx/afl/releases/afl-${version}.tgz"
checksum=e042cfe30d03ef6df3ae92619408e236d1a8e9bb6cf94ca107c4519e23161401

pre_build() {
	sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
	sed -i 's/^  \(LDFLAGS *+=\)/override \1/' Makefile
}
