2010-10-24 20:19:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Agrep < Formula
|
2010-10-24 20:19:18 +00:00
|
|
|
homepage 'http://en.wikipedia.org/wiki/Agrep'
|
2012-02-10 03:36:56 +00:00
|
|
|
url 'ftp://ftp.cs.arizona.edu/agrep/agrep-2.04.tar.Z'
|
2010-10-24 20:19:18 +00:00
|
|
|
md5 'abc645404d3926a57c3f5e86a6e89ee9'
|
|
|
|
|
|
|
|
def install
|
2012-02-10 03:36:56 +00:00
|
|
|
system "make", "CFLAGS=#{ENV.cflags}"
|
2010-10-24 20:19:18 +00:00
|
|
|
bin.install "agrep"
|
|
|
|
man1.install "agrep.1"
|
|
|
|
end
|
|
|
|
end
|