blob: 943426c5e6669c6e0098f287b0e41ef3cf4a8b64 (
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
36
37
38
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=2
WANT_AUTOCONF="2.5"
inherit autotools eutils
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=""
DEPEND="sci-libs/gsl"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-qafixes.patch
eautoreconf
}
src_compile() {
emake all-recursive || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc NEWS README* NOTES || die
docinto "dieharder"
dodoc dieharder/README dieharder/NOTES || die
docinto "libdieharder"
dodoc libdieharder/README libdieharder/NOTES || die
}
|