summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-03-15 16:01:10 -0500
committerGitHub <noreply@github.com>2017-03-15 16:01:10 -0500
commit9f1af5913ba5a80451572a69722bff5d9701e525 (patch)
tree20574224923d09e68e425658f296322056a45628
parent41114c3e76d8a82e9dbdf0761dfee990553af512 (diff)
downloadspack-9f1af5913ba5a80451572a69722bff5d9701e525.tar.gz
spack-9f1af5913ba5a80451572a69722bff5d9701e525.tar.bz2
spack-9f1af5913ba5a80451572a69722bff5d9701e525.tar.xz
spack-9f1af5913ba5a80451572a69722bff5d9701e525.zip
Add latest version of cURL (#3447)
-rw-r--r--var/spack/repos/builtin/packages/curl/package.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/curl/package.py b/var/spack/repos/builtin/packages/curl/package.py
index 5e7a694515..7a48f651c3 100644
--- a/var/spack/repos/builtin/packages/curl/package.py
+++ b/var/spack/repos/builtin/packages/curl/package.py
@@ -25,14 +25,15 @@
from spack import *
-class Curl(Package):
+class Curl(AutotoolsPackage):
"""cURL is an open source command line tool and library for
transferring data with URL syntax"""
homepage = "http://curl.haxx.se"
# URL must remain http:// so Spack can bootstrap curl
- url = "http://curl.haxx.se/download/curl-7.46.0.tar.bz2"
+ url = "http://curl.haxx.se/download/curl-7.53.1.tar.bz2"
+ version('7.53.1', 'fb1f03a142236840c1a77c035fa4c542')
version('7.52.1', 'dd014df06ff1d12e173de86873f9f77a')
version('7.50.3', 'bd177fd6deecce00cfa7b5916d831c5e')
version('7.50.2', '6e161179f7af4b9f8b6ea21420132719')
@@ -45,13 +46,13 @@ class Curl(Package):
version('7.43.0', '11bddbb452a8b766b932f859aaeeed39')
version('7.42.1', '296945012ce647b94083ed427c1877a8')
- depends_on("openssl")
- depends_on("zlib")
+ depends_on('openssl')
+ depends_on('zlib')
- def install(self, spec, prefix):
- configure('--prefix=%s' % prefix,
- '--with-zlib=%s' % spec['zlib'].prefix,
- '--with-ssl=%s' % spec['openssl'].prefix)
+ def configure_args(self):
+ spec = self.spec
- make()
- make("install")
+ return [
+ '--with-zlib={0}'.format(spec['zlib'].prefix),
+ '--with-ssl={0}'.format(spec['openssl'].prefix),
+ ]