2015-05-15 10:57:38 +00:00
|
|
|
class Ponyc < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Object-oriented, actor-model, capabilities-secure programming language"
|
2015-05-15 10:57:38 +00:00
|
|
|
homepage "http://www.ponylang.org"
|
2015-06-15 21:13:54 +00:00
|
|
|
url "http://www.ponylang.org/releases/source/ponyc-0.1.6.tar.bz2"
|
|
|
|
sha256 "28592dd60320e1a587d256e08e7053e42975f8dc3dd5fb5eb0fd57baae5dc01e"
|
2015-05-15 10:57:38 +00:00
|
|
|
|
2015-05-15 11:47:05 +00:00
|
|
|
bottle do
|
2015-05-20 05:18:01 +00:00
|
|
|
revision 1
|
|
|
|
sha256 "dceed199973166120039b48d73df384b9b6d5cc087ed6762a4e0155dae3ce417" => :yosemite
|
|
|
|
sha256 "14e784acf5b8ab11e346492eddde4bd6dfb5076dd1461be12acc8aaf5e2d44bb" => :mavericks
|
|
|
|
sha256 "9248d2e58ccd3b5dd155c994d738b90cc18249239a220ea30b88a8e94fdcb6ef" => :mountain_lion
|
2015-05-15 11:47:05 +00:00
|
|
|
end
|
|
|
|
|
2015-05-19 01:28:41 +00:00
|
|
|
depends_on "llvm" => "with-rtti"
|
2015-05-15 10:57:38 +00:00
|
|
|
needs :cxx11
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.cxx11
|
2015-05-19 01:28:41 +00:00
|
|
|
system "make", "install", "config=release", "destdir=#{prefix}"
|
2015-05-15 10:57:38 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/ponyc", "-rexpr", "#{prefix}/packages/builtin"
|
|
|
|
end
|
|
|
|
end
|