homebrew-core/Formula/picoc.rb

13 lines
315 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Picoc < Formula
homepage 'http://code.google.com/p/picoc/'
url 'http://picoc.googlecode.com/files/picoc-2.1.tar.bz2'
sha1 '24fdc3c8302915d663fcaefaf878ab5ad5a2d69b'
def install
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags} -DUNIX_HOST"
bin.install "picoc"
end
end