2015-09-23 22:34:13 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2012-02-06 16:39:49 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2015-09-23 22:34:13 +03:00
|
|
|
EAPI=5
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
inherit eutils toolchain-funcs
|
|
|
|
|
|
|
|
DESCRIPTION="Pseudorandom number sequence test"
|
|
|
|
HOMEPAGE="http://www.fourmilab.ch/random/"
|
|
|
|
SRC_URI="mirror://gentoo/random-${PV}.zip"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
LICENSE="public-domain"
|
2015-09-23 22:34:13 +03:00
|
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
2012-02-06 16:39:49 +04:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND=""
|
|
|
|
DEPEND="app-arch/unzip"
|
|
|
|
|
2015-09-23 22:34:13 +03:00
|
|
|
S="${WORKDIR}"
|
|
|
|
|
2012-02-06 16:39:49 +04:00
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}"/${PV}-gentoo.patch
|
|
|
|
tc-export CC
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2015-09-23 22:34:13 +03:00
|
|
|
dobin ${PN}
|
|
|
|
dohtml ${PN}.html ${PN}itle.gif
|
2012-02-06 16:39:49 +04:00
|
|
|
}
|