Add PnetCDF and M4 packages

This commit is contained in:
Adam J. Stewart
2016-01-28 15:41:58 -06:00
parent c2bb00ca2f
commit 4f34031534
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from spack import *
class M4(Package):
"""GNU M4 is an implementation of the traditional Unix macro processor."""
homepage = "https://www.gnu.org/software/m4/m4.html"
url = "ftp://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz"
version('1.4.17', 'a5e9954b1dae036762f7b13673a2cf76')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
make()
make("install")