2010-04-14 23:31:57 +00:00
|
|
|
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'
|
|
|
|
md5 '99eb1ed515648f653fc7be45e0896378'
|
|
|
|
|
|
|
|
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
|