void-packages/srcpkgs/afl++/template

28 lines
838 B
Bash
Raw Normal View History

2023-07-12 20:12:07 +02:00
# Template file for 'afl++'
pkgname=afl++
2024-06-18 18:56:57 +02:00
version=4.21c
revision=1
2023-07-12 20:12:07 +02:00
# x86 only currently
archs="i686* x86_64*"
build_style=gnu-makefile
hostmakedepends="which"
makedepends="clang gmp-devel lld llvm llvm17-devel python3-devel"
2023-07-12 20:12:07 +02:00
short_desc="American fuzzy lop Plus Plus - a brute-force fuzzer"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Apache-2.0"
homepage="https://aflplus.plus/"
distfiles="https://github.com/AFLplusplus/AFLplusplus/archive/refs/tags/v${version}.tar.gz"
2024-06-18 18:56:57 +02:00
checksum=11f7c77d37cff6e7f65ac7cc55bab7901e0c6208e845a38764394d04ed567b30
2023-07-12 20:12:07 +02:00
conflicts="afl>=0"
replaces="afl>=0"
nostrip_files="small_archive.a small_exec.elf"
export LLVM_CONFIG=llvm-config
post_install() {
# Test cases contain binary .../testcases/others/elf/small_exec.elf
# so move them to /usr/lib/afl
mv ${DESTDIR}/usr/{share,lib}/afl/testcases
}