require 'formula' class Libechonest < Formula homepage 'https://projects.kde.org/projects/playground/libs/libechonest' url 'http://files.lfranchi.com/libechonest-2.2.0.tar.bz2' sha1 'fec281d9288c2a4fabd2dd275f1a508dd6d1bc5c' 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