Commit e6838605 authored by Vince Wadhwani's avatar Vince Wadhwani

Add package for The Silver Searcher. A faster way to search your filesystem

parent e5032bff
require 'package'
class The_silver_searcher < Package
description 'Code-search similar to ack. (ag)'
homepage 'https://github.com/ggreer/the_silver_searcher'
version '2.0.0'
source_url 'https://github.com/ggreer/the_silver_searcher/archive/2.0.0.tar.gz'
source_sha256 'ff7243863f22ed73eeab6f7a6d17cfff585a7eaa41d5ab3ae4f5d6db97701d5f'
depends_on "autoconf"
depends_on "automake"
depends_on "pkgconfig"
depends_on "pcre"
depends_on "xzutils"
def self.build
system "autoreconf", "-fiv"
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment