homebrew-core/Formula/gplcver.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

17 lines
583 B
Ruby

class Gplcver < Formula
desc "Pragmatic C Software GPL Cver 2001"
homepage "http://gplcver.sourceforge.net/"
url "https://downloads.sourceforge.net/project/gplcver/gplcver/2.12a/gplcver-2.12a.src.tar.bz2"
sha256 "f7d94677677f10c2d1e366eda2d01a652ef5f30d167660905c100f52f1a46e75"
def install
inreplace "src/makefile.osx" do |s|
s.gsub! "-mcpu=powerpc", ""
s.change_make_var! "CFLAGS", "$(INCS) $(OPTFLGS) #{ENV.cflags}"
s.change_make_var! "LFLAGS", ""
end
system "make", "-C", "src", "-f", "makefile.osx"
bin.install "bin/cver"
end
end