summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-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")