blob: b8a5d7f8a50b42f8bcf27b074b8738f9d5a7fb85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require 'formula'
class Picoc < Formula
homepage 'http://code.google.com/p/picoc/'
url 'https://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
|