require 'formula' class Ode '1728' homepage 'http://www.ode.org/' def install ENV.j1 # only necessary when downloading from svn system "sh autogen.sh" unless File.exist? "configure" system "./configure", "--prefix=#{prefix}" system "make" system "make install" end end