Skip to content
Snippets Groups Projects
Commit ff6da768 authored by J0WI's avatar J0WI Committed by Leo
Browse files

community/afl: enable armhf

parent 2fb8dd92
No related branches found
No related tags found
No related merge requests found
......@@ -2,26 +2,24 @@
# Maintainer: Marian <marian.buschsieweke@ovgu.de>
pkgname=afl
pkgver=2.52b
pkgrel=1
pkgrel=2
pkgdesc="Fuzzer relying on genetic algorithms instead of brute force"
url="http://lcamtuf.coredump.cx/afl/"
arch="all !x86 !armhf"
arch="all !x86"
license="Apache-2.0"
options="!check" # no tests provided
depends="clang llvm"
makedepends="clang-dev llvm-dev"
subpackages="$pkgname-doc"
source="http://lcamtuf.coredump.cx/$pkgname/releases/$pkgname-$pkgver.tgz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
local dir; for dir in "$builddir" "$builddir"/llvm_mode; do
make -C "$dir" PREFIX=/usr CC=clang AFL_NO_X86=1
make AFL_NO_X86=1 -C "$dir" PREFIX=/usr CC=clang
done
}
package() {
cd "$builddir"
make AFL_NO_X86=1 PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 llvm_mode/README.llvm \
"$pkgdir"/usr/share/doc/$pkgname/README.llvm_mode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment