homebrew-core/Formula/embryo.rb

25 lines
617 B
Ruby
Raw Normal View History

require 'formula'
class Embryo < Formula
homepage 'http://trac.enlightenment.org/e/wiki/Embryo'
url 'http://download.enlightenment.org/releases/embryo-1.2.0.tar.gz'
sha1 '5e392a41ead0d696512b02f436eeae8747ddfbcb'
2012-05-10 14:10:12 +00:00
head 'http://svn.enlightenment.org/svn/e/trunk/embryo/'
2012-07-07 18:08:22 +00:00
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