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/app-crypt/dieharder/dieharder-3.31.1.ebuild

39 lines
960 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/dieharder/dieharder-3.31.1.ebuild,v 1.1 2012/10/14 19:06:34 c1pher Exp $
EAPI=4
DESCRIPTION="An advanced suite for testing the randomness of RNG's"
HOMEPAGE="http://www.phy.duke.edu/~rgb/General/dieharder.php"
SRC_URI="http://www.phy.duke.edu/~rgb/General/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND="sci-libs/gsl"
DEPEND="${RDEPEND}
doc? ( dev-tex/latex2html )"
src_compile() {
emake all-recursive
use doc && emake -C manual
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS README NOTES
docinto "dieharder"
dodoc dieharder/README dieharder/NOTES
docinto "libdieharder"
dodoc libdieharder/README libdieharder/NOTES
if use doc ; then
dodoc ChangeLog dieharder.html
docinto "manual"
dodoc manual/dieharder.pdf manual/dieharder.ps
fi
}