2013-02-08 11:52:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Crm114 < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Examine, sort, filter or alter logs or data streams"
|
2013-02-08 11:52:49 +00:00
|
|
|
homepage 'http://crm114.sourceforge.net/'
|
|
|
|
url 'http://crm114.sourceforge.net/tarballs/crm114-20100106-BlameMichelson.src.tar.gz'
|
|
|
|
sha1 '621106ff14fa66a5a878a2c8fb0251ec483fc17b'
|
|
|
|
|
|
|
|
depends_on 'tre'
|
|
|
|
|
|
|
|
def install
|
2014-02-14 03:58:05 +00:00
|
|
|
ENV.append 'CFLAGS', '-std=gnu89'
|
2013-02-08 11:52:49 +00:00
|
|
|
inreplace 'Makefile', 'LDFLAGS += -static -static-libgcc', ''
|
|
|
|
bin.mkpath
|
|
|
|
system "make", "prefix=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|