blob: fd523d5bc7220b5a4ef1d8e1919ff88dda93baff (
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
31
32
33
34
35
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/bunny/bunny-0.92.ebuild,v 1.2 2007/11/26 00:25:18 drac Exp $
inherit toolchain-funcs
DESCRIPTION="A small general purpose fuzzer for C programs."
HOMEPAGE="http://code.google.com/p/bunny-the-fuzzer"
SRC_URI="http://bunny-the-fuzzer.googlecode.com/files/${P}.tgz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-libs/openssl"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}
src_compile() {
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
|| die "emake failed."
}
src_test() {
emake test1 || die "emake test1 failed."
emake test2 || die "emake test2 failed."
emake test3 || die "emake test3 failed."
}
src_install() {
dobin ${PN}-{exec,flow,gcc,main,trace}
dodoc CHANGES README
}
|