homebrew-core/Formula/picoc.rb
Jorge Luis Mendez a009ed888e Updated picoc to 2.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-18 09:33:19 -07:00

17 lines
402 B
Ruby

require 'formula'
class Picoc < Formula
url 'http://picoc.googlecode.com/files/picoc-2.1.tar.bz2'
homepage 'http://code.google.com/p/picoc/'
md5 '6505fb108d195bad0854c7024993cc24'
def install
inreplace 'Makefile' do |s|
s.change_make_var! 'CC', ENV['CC']
s.change_make_var! 'CFLAGS', ENV['CFLAGS'] + ' -DUNIX_HOST'
end
system "make"
bin.install "picoc"
end
end