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