diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-09-23 00:29:50 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-09-23 00:29:50 -0700 |
commit | f02af701e519005cb32461b10282b4234bb806b1 (patch) | |
tree | c350b92507e527926b3d4a5c4fbffb40be62e3f3 | |
parent | 5f826a0ab7d93bd6c8f9c6117966586f7510247a (diff) | |
parent | 22ba02b22b50107463928878430dbab2b26c39d1 (diff) | |
download | spack-f02af701e519005cb32461b10282b4234bb806b1.tar.gz spack-f02af701e519005cb32461b10282b4234bb806b1.tar.bz2 spack-f02af701e519005cb32461b10282b4234bb806b1.tar.xz spack-f02af701e519005cb32461b10282b4234bb806b1.zip |
Merge pull request #113 from scalability-llnl/features/gflags
add gflags package
-rw-r--r-- | var/spack/packages/gflags/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/packages/gflags/package.py b/var/spack/packages/gflags/package.py new file mode 100644 index 0000000000..62dd80a094 --- /dev/null +++ b/var/spack/packages/gflags/package.py @@ -0,0 +1,21 @@ +import os +from spack import * + +class Gflags(Package): + """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 + in the source file in which they are used. Online documentation + available at: https://gflags.github.io/gflags/""" + + homepage = "https://gflags.github.io/gflags" + url = "https://github.com/gflags/gflags/archive/v2.1.2.tar.gz" + + version('2.1.2', 'ac432de923f9de1e9780b5254884599f') + + def install(self, spec, prefix): + cmake("-DCMAKE_INSTALL_PREFIX=" + prefix, + "-DBUILD_SHARED_LIBS=ON") + make() + make("test") + make("install") |