/[gentoo-x86]/dev-util/bunny/bunny-0.93-r1.ebuild
Gentoo

Contents of /dev-util/bunny/bunny-0.93-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Sep 20 19:46:54 2010 UTC (4 years, 1 month ago) by jer
Branch: MAIN
Respect LDFLAGS (bug #336535).

(Portage version: 2.2_rc84/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/bunny/bunny-0.93.ebuild,v 1.1 2009/05/04 14:32:15 ssuominen Exp $
4
5 EAPI="2"
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="A small general purpose fuzzer for C programs."
10 HOMEPAGE="http://code.google.com/p/bunny-the-fuzzer"
11 SRC_URI="http://bunny-the-fuzzer.googlecode.com/files/${P}.tgz"
12
13 LICENSE="Apache-2.0"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 RDEPEND="dev-libs/openssl"
19 DEPEND="${RDEPEND}"
20
21 S=${WORKDIR}/${PN}
22
23 src_prepare() {
24 sed -i Makefile -e '/ -o /s|$(CFLAGS)|& $(LDFLAGS)|' || die "sed Makefile"
25 }
26
27 src_compile() {
28 tc-export CC
29 emake CFLAGS="${CFLAGS}" || die "emake failed"
30 }
31
32 src_test() {
33 emake test1 || die "emake test1 failed"
34 emake test2 || die "emake test2 failed"
35 emake test3 || die "emake test3 failed"
36 }
37
38 src_install() {
39 dobin ${PN}-{exec,flow,gcc,main,trace} || die "dobin failed"
40 dodoc CHANGES README
41 }

  ViewVC Help
Powered by ViewVC 1.1.20