summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/apr/package.py14
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')