homebrew-core/Formula/gplcver.rb
Victor Martinez 8dc451e3e2 Fixed several broken sourceforge.net download locations
Closes Homebrew/homebrew#20645.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-30 12:17:57 -07:00

19 lines
500 B
Ruby

require 'formula'
class Gplcver < Formula
homepage 'http://gplcver.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/gplcver/gplcver/2.12a/gplcver-2.12a.src.tar.bz2'
sha1 '946bb35b6279646c6e10c309922ed17deb2aca8a'
def install
inreplace 'src/makefile.osx' do |s|
s.gsub! '-mcpu=powerpc', ''
s.change_make_var! 'CFLAGS', "$(INCS) $(OPTFLGS) #{ENV.cflags}"
end
cd 'src' do
system "make -f makefile.osx"
end
bin.install 'bin/cver'
end
end