diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/libevent/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/libevent/package.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/libevent/package.py b/var/spack/repos/builtin/packages/libevent/package.py index 65b3a716c0..86aeddaf20 100644 --- a/var/spack/repos/builtin/packages/libevent/package.py +++ b/var/spack/repos/builtin/packages/libevent/package.py @@ -25,7 +25,7 @@ from spack import * -class Libevent(Package): +class Libevent(AutotoolsPackage): """The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also support @@ -52,13 +52,11 @@ class Libevent(Package): description="Build with encryption enabled at the libevent level.") depends_on('openssl', when='+openssl') - def install(self, spec, prefix): + def configure_args(self): configure_args = [] if '+openssl' in spec: configure_args.append('--enable-openssl') else: configure_args.append('--enable-openssl') - configure("--prefix=%s" % prefix, *configure_args) - make() - make("install") + return configure_args |