homebrew-core/Formula/gplcver.rb
Mark L. Chang 4f4d5db74f new formla: gplcver
gplcver is a Verilog simulator

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-15 10:35:11 -07:00

17 lines
478 B
Ruby

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