You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/fuzz/fuzz-0.6.ebuild

33 lines
742 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
inherit eutils toolchain-funcs
DESCRIPTION="Stress-tests programs by giving them random input"
HOMEPAGE="http://fuzz.sourceforge.net/"
DEB_P="${PN}_${PV}"
DEB_PR="7.3"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}-${DEB_PR}.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND=">=sys-libs/readline-4.3"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${P}.tar.gz
cd "${S}"
epatch "${DISTDIR}"/${DEB_P}-${DEB_PR}.diff.gz
tc-export CC
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc NEWS README ChangeLog AUTHORS
}