void-packages/srcpkgs/afl/template

19 lines
588 B
Bash

# Template file for 'afl'
pkgname=afl
version=1.86b
revision=1
build_style=gnu-makefile
# x86 only currently
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
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=19588e43d14d3f76c5970f7e64ab314d13b325198a7a8eff8a9e3d6a1cb3c9af
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
sed -i 's/^ \(LDFLAGS *+=\)/override \1/' Makefile
}