summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/sparsehash/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/sparsehash/package.py')
-rw-r--r--var/spack/repos/builtin/packages/sparsehash/package.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sparsehash/package.py b/var/spack/repos/builtin/packages/sparsehash/package.py
new file mode 100644
index 0000000000..7decaeb89b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/sparsehash/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class Sparsehash(Package):
+ """Sparse and dense hash-tables for C++ by Google"""
+ homepage = "https://github.com/sparsehash/sparsehash"
+ url = "https://github.com/sparsehash/sparsehash/archive/sparsehash-2.0.3.tar.gz"
+
+ version('2.0.3', 'd8d5e2538c1c25577b3f066d7a55e99e')
+
+ def install(self, spec, prefix):
+ configure('--prefix=%s' % prefix)
+
+ make()
+ make("install")