summaryrefslogtreecommitdiff
blob: b6f8567f215ba977a8f400678aa819e2c985ccb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/afl/afl-0.50b.ebuild,v 1.1 2014/11/16 13:19:08 hanno Exp $

EAPI=5
inherit multilib

DESCRIPTION="american fuzzy lop - compile-time instrumentation fuzzer"
HOMEPAGE="http://lcamtuf.coredump.cx/afl/"
SRC_URI="http://lcamtuf.coredump.cx/afl/releases//${P}.tgz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="sys-devel/gcc"
RDEPEND="${DEPEND}"

src_compile() {
	emake BIN_PATH="/usr/bin" \
		HELPER_PATH="/usr/$(get_libdir)/afl"
}

src_install() {
	emake DESTDIR="${D}" \
		BIN_PATH="/usr/bin" \
		HELPER_PATH="/usr/$(get_libdir)/afl" \
		install

	dodoc docs/ChangeLog docs/README docs/*.txt
}