require 'formula' class Eet < Formula homepage 'http://trac.enlightenment.org/e/wiki/Eet' url 'http://download.enlightenment.org/releases/eet-1.7.7.tar.gz' sha1 'd3f756321147b26c89b69ece8c6115ba0f68490e' head 'http://svn.enlightenment.org/svn/e/trunk/eet/' if build.head? depends_on :automake depends_on :libtool end depends_on 'pkg-config' => :build depends_on 'eina' depends_on 'jpeg' depends_on 'lzlib' def install system "./autogen.sh" if build.head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end