25 lines
693 B
Bash
25 lines
693 B
Bash
# Template file for 'afl'
|
|
pkgname=afl
|
|
version=2.52b
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
# x86 only currently
|
|
archs="i686* x86_64*"
|
|
hostmakedepends="llvm clang"
|
|
short_desc="American fuzzy lop - a brute-force fuzzer"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="http://lcamtuf.coredump.cx/afl/"
|
|
distfiles="http://lcamtuf.coredump.cx/afl/releases/afl-${version}.tgz"
|
|
checksum=43614b4b91c014d39ef086c5cc84ff5f068010c264c2c05bf199df60898ce045
|
|
|
|
nostrip_files="small_archive.a small_exec.elf"
|
|
|
|
do_build() {
|
|
make PREFIX=/usr
|
|
|
|
CFLAGS="${CFLAGS} -fPIC" \
|
|
CXXFLAGS="${CXXFLAGS} -fPIC" \
|
|
LDFLAGS="${LDFLAGS} -pie" \
|
|
make PREFIX=/usr CC=clang CXX=clang++ -C llvm_mode
|
|
}
|