require 'formula' class Libzip < Formula homepage 'http://www.nih.at/libzip/' url 'http://www.nih.at/libzip/libzip-0.11.1.tar.gz' sha1 '729a141fd3b47f34a94e8fd8a9ee1b25f0c8e922' def install system "./configure", "--prefix=#{prefix}", "--mandir=#{man}", "CXX=#{ENV.cxx}", "CXXFLAGS=#{ENV.cflags}" system "make install" end end