require 'formula' class Swftools :optional def install ENV.x11 # Add to PATH for freetype-config on Snow Leopard ENV.minimal_optimization system "./configure", "--prefix=#{prefix}" system "make" system "make install" end def caveats; <<-EOS.undent `swfc` segfaults under Snow Leopard. Please persue this issue with the softare vendor: http://lists.nongnu.org/mailman/listinfo/swftools-common EOS end end