summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Scogland <tscogland@llnl.gov>2015-06-10 14:24:38 -0700
committerThomas R. W. Scogland <scogland@llnl.gov>2015-06-10 14:24:38 -0700
commitcd581d1d5a799da1a85d3c72c200f8649fad03eb (patch)
tree33195449390854072735dcf325a301adacb8b1ef
parentf420f9393a229832a05d87cfa53bd2f89ffd91fc (diff)
downloadspack-cd581d1d5a799da1a85d3c72c200f8649fad03eb.tar.gz
spack-cd581d1d5a799da1a85d3c72c200f8649fad03eb.tar.bz2
spack-cd581d1d5a799da1a85d3c72c200f8649fad03eb.tar.xz
spack-cd581d1d5a799da1a85d3c72c200f8649fad03eb.zip
adding package for the silver searcher
-rw-r--r--var/spack/packages/the_silver_searcher/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/packages/the_silver_searcher/package.py b/var/spack/packages/the_silver_searcher/package.py
new file mode 100644
index 0000000000..f6cef42b31
--- /dev/null
+++ b/var/spack/packages/the_silver_searcher/package.py
@@ -0,0 +1,18 @@
+from spack import *
+
+class TheSilverSearcher(Package):
+ """Fast recursive grep alternative"""
+ # FIXME: add a proper url for your package's homepage here.
+ homepage = "http://geoff.greer.fm/ag/"
+ url = "http://geoff.greer.fm/ag/releases/the_silver_searcher-0.30.0.tar.gz"
+
+ version('0.30.0', '95e2e7859fab1156c835aff7413481db')
+
+ depends_on('pcre')
+ depends_on('xz')
+
+ def install(self, spec, prefix):
+ configure("--prefix=%s" % prefix)
+
+ make()
+ make("install")