This cookbook is unmaintained. Use at your own risk.
Builds The Silver Searcher from source.
This cookbook supports Debian and Red Hat platform families. It is tested on the two most recent major versions of CentOS, the most recent stable version of Debian, the most recent version of Fedora supporting yum, the current and previous LTS versions of Ubuntu, and the most recent version of Ubuntu.
It depends on the build_essential cookbook which recommends, on
Debian platform family systems, to run an apt-get update before running
it to ensure that the latest version is installed. See the note there
for further instructions.
Include recipe[the_silver_searcher] in a run list.
-
[:the_silver_searcher][:version]= version number to install -
[:the_silver_searcher][:checksum]= checksum of tar.gz source for this version -
[:the_silver_searcher][:url]= url of tar.gz source -
[:the_silver_searcher][:build_opt]= options to pass to build.sh, e.g. to install to a different prefix, use '--prefix=/opt/the_silver_searcher'
- default - installs The Silver Searcher to
/usr/local/bin/ag
Author:: Mark Cornick (mailto:mark@markcornick.com)
Thanks to:
- @muratayusuke (Yusuke Murata)
- @byplayer