aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libcppa.rb
diff options
context:
space:
mode:
authorChilledheart2014-10-31 21:20:28 +0800
committerMike McQuaid2014-10-31 15:56:45 +0000
commit6fe579b3f861a72c2746b330860e19a4123b6364 (patch)
tree6c5f8c99f7126c9f5fac79e1e01c8199b069211f /Library/Formula/libcppa.rb
parent49b962d2988de27a3a15a2170bac7f647fc5f685 (diff)
downloadhomebrew-6fe579b3f861a72c2746b330860e19a4123b6364.tar.bz2
libcppa 0.11
libcppa has been renamed to actor-framework or libcaf (pkg name) since 0.10, but we still use the old name for the consistency with the old one.
Diffstat (limited to 'Library/Formula/libcppa.rb')
-rw-r--r--Library/Formula/libcppa.rb15
1 files changed, 9 insertions, 6 deletions
diff --git a/Library/Formula/libcppa.rb b/Library/Formula/libcppa.rb
index 3f8db7d06..9f566ad18 100644
--- a/Library/Formula/libcppa.rb
+++ b/Library/Formula/libcppa.rb
@@ -1,9 +1,12 @@
require "formula"
class Libcppa < Formula
- homepage "http://libcppa.blogspot.it"
- url "http://github.com/Neverlord/libcppa/archive/V0.9.4.tar.gz"
- sha1 "eba8002f087e55498edc0bf996fb7f211d7feec6"
+ homepage "http://actor-framework.org/"
+ url "https://github.com/actor-framework/actor-framework/archive/0.11.0.tar.gz"
+ sha1 "202f2fd72a5af59d7ace6b7300df1fcc19f1857f"
+
+ # since upstream has rename the project to actor-framework (or libcaf in its
+ # pkgconfig file), we need to rename libcppa to libcaf in the future
bottle do
cellar :any
@@ -17,6 +20,7 @@ class Libcppa < Formula
option "with-opencl", "Build with OpenCL actors"
option "with-examples", "Build examples"
+ option "without-check", "Skip build-time tests (not recommended)"
def install
ENV.cxx11
@@ -24,15 +28,14 @@ class Libcppa < Formula
args = %W[
--prefix=#{prefix}
--build-static
- --disable-context-switching
]
- args << "--with-opencl" if build.with? "opencl"
+ args << "--no-opencl" if build.without? "opencl"
args << "--no-examples" if build.without? "examples"
system "./configure", *args
system "make"
- system "make", "test"
+ system "make", "test" if build.with? "check"
system "make", "install"
end
end