aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sgrep.rb
blob: 3419ba5c658fbe5c3a1d22a8ff1ab7bf5e47252a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'formula'

class Sgrep < Formula
  url 'ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/sgrep-1.92a.tar.gz'
  homepage 'http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html'
  sha1 '0a51843822e9d986f08ad9e4c5d0e7b260508956'

  def install
    system "./configure", "--prefix=#{prefix}",
                          "--mandir=#{man}",
                          "--datadir=#{share}/sgrep"
    system "make install"
  end
end