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_skip_relocation sha256 "0f9cb534bcdc8d344dd5da5b8381cca527e515d1a3df2bf5b3785783f7f482d7" => :sierra sha256 "8753b0c9ec11f1f6195fa52c346b4d6015652931908156dcdb4468cc94103d1c" => :el_capitan 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