| # Copyright 1999-2013 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=4 |
| |
| inherit autotools-utils |
| |
| DESCRIPTION="Multiple independent streams of pseudo-random numbers" |
| HOMEPAGE="http://statmath.wu.ac.at/software/RngStreams/" |
| SRC_URI="${HOMEPAGE}${P}.tar.gz" |
| |
| LICENSE="GPL-3" |
| SLOT=0 |
| KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
| IUSE="doc examples static-libs" |
| |
| src_install() { |
| autotools-utils_src_install |
| use doc && dohtml -r doc/rngstreams.html/* && dodoc doc/${PN}.pdf |
| if use examples; then |
| rm examples/Makefile* |
| dodoc -r examples |
| fi |
| } |