require 'formula' class KdebaseRuntime :build depends_on 'kde-phonon' depends_on 'oxygen-icons' def install phonon = Formula.factory 'kde-phonon' system "cmake . #{std_cmake_parameters} -DPHONON_INCLUDE_DIR=#{phonon.include} -DPHONON_LIBRARY=#{phonon.lib}/libphonon.dylib -DBUNDLE_INSTALL_DIR=#{bin}" system "make install" end end