require 'formula' class Armadillo < Formula homepage 'http://arma.sourceforge.net/' url 'http://sourceforge.net/projects/arma/files/armadillo-3.2.2.tar.gz' sha1 '3b251765af0edf4fd940cd153da0952152b09a70' depends_on 'cmake' => :build depends_on 'boost' def install system "cmake", ".", *std_cmake_args system "make install" end end