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' + 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')