18 lines
688 B
Ruby
18 lines
688 B
Ruby
class Picoc < Formula
|
|
desc "C interpreter for scripting"
|
|
homepage "https://code.google.com/p/picoc/"
|
|
url "https://picoc.googlecode.com/files/picoc-2.1.tar.bz2"
|
|
sha256 "bfed355fab810b337ccfa9e3215679d0b9886c00d9cb5e691f7e7363fd388b7e"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "8c9bff2043ec4140a347e048741caed8c9f286f3958af1bd0e4fdb5c8817ae43" => :el_capitan
|
|
sha256 "05b84e43b6dc919361a4dc3763350bd471ff793c2aaddcd8696fe708be1dad10" => :yosemite
|
|
sha256 "19a25b578aaf48405e46341158dc62379a66fca36f7363d01bfcab4c0cea5209" => :mavericks
|
|
end
|
|
|
|
def install
|
|
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags} -DUNIX_HOST"
|
|
bin.install "picoc"
|
|
end
|
|
end
|