diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/gflags/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/gflags/package.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/gflags/package.py b/var/spack/repos/builtin/packages/gflags/package.py index 57a01f8c78..b96ee7a706 100644 --- a/var/spack/repos/builtin/packages/gflags/package.py +++ b/var/spack/repos/builtin/packages/gflags/package.py @@ -25,7 +25,7 @@ from spack import * -class Gflags(Package): +class Gflags(CMakePackage): """The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags @@ -37,11 +37,7 @@ class Gflags(Package): version('2.1.2', 'ac432de923f9de1e9780b5254884599f') - depends_on('cmake', type='build') + depends_on('cmake@2.8.12:', type='build') - def install(self, spec, prefix): - cmake("-DCMAKE_INSTALL_PREFIX=" + prefix, - "-DBUILD_SHARED_LIBS=ON") - make() - make("test") - make("install") + def cmake_args(self): + return ['-DBUILD_SHARED_LIBS=ON'] |