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-07-22 18:40:16 +00:00
|
|
|
url "http://releases.ponylang.org/source/ponyc-0.1.7.tar.bz2"
|
2015-06-18 13:25:09 +00:00
|
|
|
sha256 "fc6f783f65cd6708a80bdea71f414cada801528143ea22d9bb13957cb7061eb6"
|
2015-09-05 00:33:41 +00:00
|
|
|
head "https://github.com/CausalityLtd/ponyc.git"
|
2015-05-15 10:57:38 +00:00
|
|
|
|
2015-05-15 11:47:05 +00:00
|
|
|
bottle do
|
2015-06-18 13:44:46 +00:00
|
|
|
sha256 "ccee2ae558144cd1bda30376b3fe922e7eb6224ab9e69247deb066f663a4c9ae" => :yosemite
|
|
|
|
sha256 "afcef61c4daec2e845e5a99d63fe60c11236d75a1bb9788570ec149dd9eff82c" => :mavericks
|
|
|
|
sha256 "b195bbd971219e3a9598e38833589b73b8dd12280a800a91d02bab74e8b1787b" => :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
|