homebrew-core/Formula/eet.rb

27 lines
692 B
Ruby
Raw Normal View History

require 'formula'
class Eet < Formula
homepage 'http://trac.enlightenment.org/e/wiki/Eet'
2012-05-10 14:10:12 +00:00
url 'http://download.enlightenment.org/releases/eet-1.5.0.tar.gz'
md5 'f6fd734fbf6a2852abf044a2e1a8cabf'
2012-05-10 14:10:12 +00:00
head 'http://svn.enlightenment.org/svn/e/trunk/eet/'
depends_on 'pkg-config' => :build
depends_on 'eina'
depends_on 'jpeg'
depends_on 'lzlib'
if ARGV.build_head? and MacOS.xcode_version >= "4.3"
depends_on "automake" => :build
depends_on "libtool" => :build
end
def install
system "./autogen.sh" if ARGV.build_head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end