Add latest version of apr (#4931)

This commit is contained in:
Adam J. Stewart 2017-07-31 12:35:48 -05:00 committed by Massimiliano Culpo
parent c126c5553c
commit a9efae271b

View file

@ -25,15 +25,11 @@
from spack import *
class Apr(Package):
class Apr(AutotoolsPackage):
"""Apache portable runtime."""
homepage = 'https://apr.apache.org/'
url = 'http://archive.apache.org/dist/apr/apr-1.5.2.tar.gz'
url = 'http://archive.apache.org/dist/apr/apr-1.6.2.tar.gz'
version('1.5.2', '98492e965963f852ab29f9e61b2ad700')
def install(self, spec, prefix):
options = ['--prefix=%s' % prefix]
configure(*options)
make()
make('install')
version('1.6.2', '8672e78514e3fcef2643127c524bf0f9')
version('1.5.2', '98492e965963f852ab29f9e61b2ad700')