GNU m4 depends on libsigsegv
This commit is contained in:
parent
5af543dc4a
commit
a7b918837e
2 changed files with 17 additions and 0 deletions
15
var/spack/repos/builtin/packages/libsigsegv/package.py
Normal file
15
var/spack/repos/builtin/packages/libsigsegv/package.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
from spack import *
|
||||
|
||||
class Libsigsegv(Package):
|
||||
"""GNU libsigsegv is a library for handling page faults in user mode."""
|
||||
homepage = "https://www.gnu.org/software/libsigsegv/"
|
||||
url = "ftp://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.10.tar.gz"
|
||||
|
||||
version('2.10', '7f96fb1f65b3b8cbc1582fb7be774f0f')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('--prefix=%s' % prefix,
|
||||
'--enable-shared')
|
||||
|
||||
make()
|
||||
make("install")
|
|
@ -7,6 +7,8 @@ class M4(Package):
|
|||
|
||||
version('1.4.17', 'a5e9954b1dae036762f7b13673a2cf76')
|
||||
|
||||
depends_on('libsigsegv')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--prefix=%s" % prefix)
|
||||
make()
|
||||
|
|
Loading…
Reference in a new issue