require 'formula' class Flac2Mp3 :optional def install fails_with_llvm "Undefined symbols when linking", :build => 2326 # sadly the asm optimisations won't compile since Leopard, and nobody # cares or knows how to fix it system "./configure", "--disable-debug", "--disable-asm-optimizations", "--enable-sse", "--prefix=#{prefix}", "--mandir=#{man}" ENV['OBJ_FORMAT']='macho' system "make install" Flac2Mp3.new.brew {|f| bin.install 'flac2mp3'} end end