void-packages/srcpkgs/afl/template
2016-03-31 14:05:40 +02:00

21 lines
631 B
Bash

# Template file for 'afl'
pkgname=afl
version=2.10b
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=8141291646024dcdd2e67c51fb68b4205d34c52e4b5693c88f6ce4a6bf1ebfe3
nostrip_files="small_archive.a small_exec.elf"
do_build() {
make PREFIX=/usr
make PREFIX=/usr CC=clang CXX=clang++ -C llvm_mode
}