diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-07-31 12:35:48 -0500 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-07-31 19:35:48 +0200 |
commit | a9efae271b74f13c406ea9e8cfd9fb745963a388 (patch) | |
tree | da2f114415c4bac64c33d8b6c845d01b440e053d | |
parent | c126c5553c81c1ab150b4ccefd6cba7507f20530 (diff) | |
download | spack-a9efae271b74f13c406ea9e8cfd9fb745963a388.tar.gz spack-a9efae271b74f13c406ea9e8cfd9fb745963a388.tar.bz2 spack-a9efae271b74f13c406ea9e8cfd9fb745963a388.tar.xz spack-a9efae271b74f13c406ea9e8cfd9fb745963a388.zip |
Add latest version of apr (#4931)
-rw-r--r-- | var/spack/repos/builtin/packages/apr/package.py | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/apr/package.py b/var/spack/repos/builtin/packages/apr/package.py index 53a3c1e59b..45b000854e 100644 --- a/var/spack/repos/builtin/packages/apr/package.py +++ b/var/spack/repos/builtin/packages/apr/package.py @@ -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' - version('1.5.2', '98492e965963f852ab29f9e61b2ad700') + homepage = 'https://apr.apache.org/' + url = 'http://archive.apache.org/dist/apr/apr-1.6.2.tar.gz' - def install(self, spec, prefix): - options = ['--prefix=%s' % prefix] - configure(*options) - make() - make('install') + version('1.6.2', '8672e78514e3fcef2643127c524bf0f9') + version('1.5.2', '98492e965963f852ab29f9e61b2ad700') |