24 lines
854 B
Ruby
24 lines
854 B
Ruby
class Libstxxl < Formula
|
|
desc "C++ implementation of STL for extra large data sets"
|
|
homepage "http://stxxl.sourceforge.net/"
|
|
url "https://downloads.sourceforge.net/project/stxxl/stxxl/1.4.1/stxxl-1.4.1.tar.gz"
|
|
sha256 "92789d60cd6eca5c37536235eefae06ad3714781ab5e7eec7794b1c10ace67ac"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "fbefd1ceb6f328ef77b9a005f5bc3c93fe23fa68d60b4a5e126a68a6a9d8e17d" => :yosemite
|
|
sha256 "5a64626281265368e41f51089271c031ae8782651d65fe012f8a86949e37573b" => :mavericks
|
|
sha256 "2d5d3e4c697422777d98708aa5db58a1d26b55165f0e633700bf9934fbde5c9e" => :mountain_lion
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
|
|
def install
|
|
args = std_cmake_args - %w[-DCMAKE_BUILD_TYPE=None]
|
|
args << "-DCMAKE_BUILD_TYPE=Release"
|
|
mkdir "build" do
|
|
system "cmake", "..", *args
|
|
system "make", "install"
|
|
end
|
|
end
|
|
end
|