require 'formula' class Libechonest < Formula homepage 'https://projects.kde.org/projects/playground/libs/libechonest' url 'http://files.lfranchi.com/libechonest-2.0.0.tar.bz2' sha1 '817a7c2b821d23edbbf6c387deefbfc6dddee66c' depends_on 'cmake' => :build depends_on 'qt' depends_on 'qjson' conflicts_with 'doxygen', :because => "cmake fails to configure build." def install system "cmake", ".", *std_cmake_args system "make install" end end