adding package for the silver searcher

This commit is contained in:
Tom Scogland 2015-06-10 14:24:38 -07:00 committed by Thomas R. W. Scogland
parent f420f9393a
commit cd581d1d5a

View file

@ -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")