mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
Add agrep - 'approximate grep'.
This commit is contained in:
1 parent
45b918dd6d
commit
8e59849e4c
1 file changed
+19
@@ -0,0 +1,19 @@
|
||||
require 'formula'
|
||||
|
||||
class Agrep <Formula
|
||||
url 'ftp://ftp.cs.arizona.edu/agrep/agrep-2.04.tar.Z'
|
||||
version '2.04'
|
||||
homepage 'http://en.wikipedia.org/wiki/Agrep'
|
||||
md5 'abc645404d3926a57c3f5e86a6e89ee9'
|
||||
|
||||
def install
|
||||
inreplace "Makefile" do |s|
|
||||
s.change_make_var! "CFLAGS", ENV.cflags
|
||||
end
|
||||
|
||||
system "make"
|
||||
|
||||
bin.install "agrep"
|
||||
man1.install "agrep.1"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user