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:

committed by
Todd Gamblin

parent
5812081b80
commit
02f92fc7f8
@@ -25,7 +25,7 @@
|
||||
from spack import *
|
||||
|
||||
|
||||
class Zeromq(Package):
|
||||
class Zeromq(AutotoolsPackage):
|
||||
""" The ZMQ networking/concurrency library and core API """
|
||||
homepage = "http://zguide.zeromq.org/"
|
||||
url = "http://download.zeromq.org/zeromq-4.1.2.tar.gz"
|
||||
@@ -40,8 +40,5 @@ class Zeromq(Package):
|
||||
depends_on("libsodium")
|
||||
depends_on("libsodium@:1.0.3", when='@:4.1.2')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure("--with-libsodium", "--prefix=%s" % prefix)
|
||||
|
||||
make()
|
||||
make("install")
|
||||
def configure_args(self):
|
||||
return ['--with-libsodium']
|
||||
|
Reference in New Issue
Block a user