void-packages/srcpkgs/afl/template
2017-07-18 21:26:13 +00:00

22 lines
656 B
Bash

# Template file for 'afl'
pkgname=afl
version=2.48b
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=3f434ed33e0cb7c11d675b0d2328f428eb682cc7ad50eb3904a6df8c29baa703
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
}