Add latest version of apr (#4931)
This commit is contained in:
parent
c126c5553c
commit
a9efae271b
1 changed files with 5 additions and 9 deletions
|
@ -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.6.2', '8672e78514e3fcef2643127c524bf0f9')
|
||||
version('1.5.2', '98492e965963f852ab29f9e61b2ad700')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
options = ['--prefix=%s' % prefix]
|
||||
configure(*options)
|
||||
make()
|
||||
make('install')
|
||||
|
|
Loading…
Reference in a new issue