aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/eet.rb
blob: 3e03395d89b57cfcca497f0ca941f9ea4943897b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require 'formula'

class Eet < Formula
  homepage 'http://trac.enlightenment.org/e/wiki/Eet'
  url 'http://download.enlightenment.org/releases/eet-1.7.5.tar.gz'
  sha1 'e418110ffdfe1a3ed32b9bc68e4f7bf628d16654'

  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