void-packages/srcpkgs/afl/template
Michael Gehring 2ab2921503 afl: update to 2.43b.
Closes: #6818 [via git-merge-pr]
2017-06-23 12:34:33 -07:00

22 lines
656 B
Bash

# Template file for 'afl'
pkgname=afl
version=2.43b
revision=1
build_style=gnu-makefile
# x86 only currently
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
hostmakedepends="llvm clang"
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=9db797848efa9507e509379aeffdd89b3806a79a119dfa2c4477cc5156f262cb
nopie=yes # clang flags
nostrip_files="small_archive.a small_exec.elf"
do_build() {
make PREFIX=/usr
make PREFIX=/usr CC=clang CXX=clang++ -C llvm_mode
}