2010-04-14 23:31:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Sgrep < Formula
|
2010-04-14 23:31:57 +00:00
|
|
|
homepage 'http://www.cs.helsinki.fi/u/jjaakkol/sgrep.html'
|
2013-01-28 05:54:59 +00:00
|
|
|
url 'ftp://ftp.cs.helsinki.fi/pub/Software/Local/Sgrep/sgrep-1.92a.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '0a51843822e9d986f08ad9e4c5d0e7b260508956'
|
2010-04-14 23:31:57 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}",
|
|
|
|
"--datadir=#{share}/sgrep"
|
2010-04-14 23:31:57 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|