require 'formula' class Lzip < Formula homepage 'http://www.nongnu.org/lzip/lzip.html' url 'http://download.savannah.gnu.org/releases/lzip/lzip-1.13.tar.gz' sha1 '320175e693d9c373d345faac3c51a71b9a3980bc' def install system "./configure", "--prefix=#{prefix}", "CXX=#{ENV.cxx}", "CXXFLAGS=#{ENV.cflags}" system "make check" ENV.j1 system "make install" end end