homebrew-core/Formula/crm114.rb

24 lines
906 B
Ruby

class Crm114 < Formula
desc "Examine, sort, filter or alter logs or data streams"
homepage "https://crm114.sourceforge.io/"
url "https://crm114.sourceforge.io/tarballs/crm114-20100106-BlameMichelson.src.tar.gz"
sha256 "fb626472eca43ac2bc03526d49151c5f76b46b92327ab9ee9c9455210b938c2b"
bottle do
cellar :any
sha256 "5e22ac9266e49f8281f3afbd613b3f16eb76113fc1f1e2256206513ab6220d42" => :sierra
sha256 "d48449acfcd105d07e11c0ac7c47fdb21b88d3346c0b51377b9e44b8c8726073" => :el_capitan
sha256 "151316bd14f7cfce5cea3b765cf4e7801e31c63b72dd786fb38989d8b9380eb3" => :yosemite
sha256 "30c0c390671485747b7fd2e19bd8735ccfe3bfaae8864dc361bf2abe917ba342" => :mavericks
end
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