
- remove the old LGPL license headers from all files in Spack - add SPDX headers to all files - core and most packages are (Apache-2.0 OR MIT) - a very small number of remaining packages are LGPL-2.1-only
27 lines
814 B
Python
27 lines
814 B
Python
# 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
|