libcppa 0.9.4

This commit is contained in:
Brett Koonce 2014-07-20 18:53:52 -07:00
parent 67358fa038
commit e3bd5432a9

View file

@ -1,9 +1,9 @@
require 'formula'
require "formula"
class Libcppa < Formula
homepage 'http://libcppa.blogspot.it'
url 'http://github.com/Neverlord/libcppa/archive/V0.9.3.tar.gz'
sha1 'b9fce68bc4e5688cc75cfc9add5ec1feb105ab7d'
homepage "http://libcppa.blogspot.it"
url "http://github.com/Neverlord/libcppa/archive/V0.9.4.tar.gz"
sha1 "eba8002f087e55498edc0bf996fb7f211d7feec6"
bottle do
cellar :any
@ -12,12 +12,12 @@ class Libcppa < Formula
sha1 "d30dbe35371a62ddd9f34ada0210a3770d05191d" => :lion
end
depends_on 'cmake' => :build
depends_on "cmake" => :build
needs :cxx11
option 'with-opencl', 'Build with OpenCL actors'
option 'with-examples', 'Build examples'
option "with-opencl", "Build with OpenCL actors"
option "with-examples", "Build examples"
def install
ENV.cxx11
@ -28,8 +28,8 @@ class Libcppa < Formula
--disable-context-switching
]
args << '--with-opencl' if build.with? 'opencl'
args << '--no-examples' if build.without? 'examples'
args << "--with-opencl" if build.with? "opencl"
args << "--no-examples" if build.without? "examples"
system "./configure", *args
system "make"