diff options
| author | Alexandre Cormier | 2014-08-31 01:30:53 -0400 |
|---|---|---|
| committer | Jack Nagel | 2014-08-31 20:19:41 -0500 |
| commit | c8b6f82a178c320af7b8067738ce586f11c9cc78 (patch) | |
| tree | d4e19805c0feedd096b0c6e6f95ede27adbc5d3e /Library | |
| parent | 1abb2b04e24bde05a169f8ab0e65dcc1a0247179 (diff) | |
| download | homebrew-c8b6f82a178c320af7b8067738ce586f11c9cc78.tar.bz2 | |
libtins 3.1
Closes #31998.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libtins.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/libtins.rb b/Library/Formula/libtins.rb index 2fd79c3f4..660facde5 100644 --- a/Library/Formula/libtins.rb +++ b/Library/Formula/libtins.rb @@ -2,8 +2,8 @@ require "formula" class Libtins < Formula homepage "https://libtins.github.io/" - url "https://github.com/mfontanini/libtins/archive/v3.0.tar.gz" - sha1 "0e8a31dde9ba9ec55cc4c6d3142fe4e3912598e3" + url "https://github.com/mfontanini/libtins/archive/v3.1.tar.gz" + sha1 "8047e87ba90f784d7022980c7351b616d43d4fba" head "https://github.com/mfontanini/libtins.git" bottle do @@ -15,12 +15,14 @@ class Libtins < Formula option :cxx11 + depends_on "cmake" => :build + def install ENV.cxx11 if build.cxx11? - args = ["--prefix=#{prefix}"] - args << "--enable-c++11" if build.cxx11? + args = std_cmake_args + args << "-DLIBTINS_ENABLE_CXX11=1" if build.cxx11? - system "./configure", *args + system "cmake", ".", *args system "make", "install" doc.install "examples" end |
