Massive conversion from Package to AutotoolsPackage (#2845)

* Massive conversion from Package to AutotoolsPackage

* Forgot to convert p4est to AutotoolsPackage

* Fix typo

* Fix broken link in docs
This commit is contained in:
Adam J. Stewart
2017-01-18 12:34:09 -06:00
committed by Todd Gamblin
parent 5812081b80
commit 02f92fc7f8
313 changed files with 384 additions and 2119 deletions

View File

@@ -25,7 +25,7 @@
from spack import *
class Mpfr(Package):
class Mpfr(AutotoolsPackage):
"""The MPFR library is a C library for multiple-precision
floating-point computations with correct rounding."""
homepage = "http://www.mpfr.org"
@@ -36,8 +36,3 @@ class Mpfr(Package):
version('3.1.2', 'ee2c3ac63bf0c2359bf08fc3ee094c19')
depends_on('gmp') # mpir is a drop-in replacement for this
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
make()
make("install")