void-packages/srcpkgs/afl/template
2016-03-08 10:24:54 +01:00

21 lines
666 B
Bash

# Template file for 'afl'
pkgname=afl
version=2.07b
revision=2
build_style=gnu-makefile
make_build_args="PREFIX=/usr"
# 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=9dd324bc3930ec1dbb44d00df8dcf8a3c8ca54b765665cc7f20b89e71d70b184
nostrip_files="small_archive.a small_exec.elf"
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
sed -i 's/^ \(LDFLAGS *+=\)/override \1/' Makefile
}