7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
14 lines
416 B
Ruby
14 lines
416 B
Ruby
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
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--mandir=#{man}",
|
|
"--datadir=#{share}/sgrep"
|
|
system "make install"
|
|
end
|
|
end
|