require 'formula' class Exempi < Formula homepage 'http://libopenraw.freedesktop.org/wiki/Exempi' url 'http://libopenraw.freedesktop.org/download/exempi-2.2.1.tar.bz2' sha1 '0ca233e81d6f6fef94ac13202ce9a66b584d482e' depends_on 'boost' def patches # https://bugs.freedesktop.org/show_bug.cgi?id=73058 "http://cgit.freedesktop.org/exempi/patch/?id=75af16b221dca0bf6a9656d5b187c3141d82c200" end def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--with-boost=#{HOMEBREW_PREFIX}" system "make install" end end