aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/embryo.rb
blob: 0c632a113970de0bc18bb42d39f207c7eed73119 (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
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'

  head 'http://svn.enlightenment.org/svn/e/trunk/embryo/'

  if build.head?
    depends_on :automake
    depends_on :libtool
  end

  depends_on 'pkg-config' => :build
  depends_on 'eina'

  def install
    system "./autogen.sh" if build.head?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end