require 'formula' class Libxml2 "2326" args = ["--disable-dependency-tracking", "--prefix=#{prefix}"] if ARGV.include? '--with-python' python_prefix=`python-config --prefix` ohai "Installing Python module to #{python_prefix}" args << "--with-python=#{python_prefix}" end system "./configure", *args system "make" ENV.j1 system "make install" end end