blob: 3db827fd036a6daf8ef38069fa606ebf747f4e3e (
plain) (
blame)
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
|
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Prng(AutotoolsPackage):
"""Pseudo-Random Number Generator library."""
homepage = "http://statmath.wu.ac.at/prng/"
url = "http://statmath.wu.ac.at/prng/prng-3.0.2.tar.gz"
version('3.0.2', '80cb0870f2d18618bd2772f9e1dc1a70')
depends_on('automake', type='build')
depends_on('autoconf', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
patch('prng-3.0.2-shared.patch', when="@3.0.2")
patch('prng-3.0.2-fix-c99-inline-semantics.patch', when="@3.0.2")
# Force the autoreconf step
force_autoreconf = True
|