homebrew-core/Formula/crm114.rb

19 lines
500 B
Ruby
Raw Normal View History

require 'formula'
class Crm114 < Formula
desc "Examine, sort, filter or alter logs or data streams"
homepage 'http://crm114.sourceforge.net/'
url 'http://crm114.sourceforge.net/tarballs/crm114-20100106-BlameMichelson.src.tar.gz'
sha1 '621106ff14fa66a5a878a2c8fb0251ec483fc17b'
depends_on 'tre'
def install
ENV.append 'CFLAGS', '-std=gnu89'
inreplace 'Makefile', 'LDFLAGS += -static -static-libgcc', ''
bin.mkpath
system "make", "prefix=#{prefix}", "install"
end
end