vp-build/srcpkgs/afl/template

20 lines
618 B
Bash

# Template file for 'afl'
pkgname=afl
version=2.00b
revision=1
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=3302cd8220a36e84898355dacdcacdfd9ac48c3466125ef11032e1f3a8eed277
pre_build() {
sed -i 's/^\(CFLAGS *+=\)/override \1/' Makefile
sed -i 's/^ \(LDFLAGS *+=\)/override \1/' Makefile
}