2011-10-31 02:32:24 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Embryo < Formula
|
2012-01-10 08:03:25 +00:00
|
|
|
url 'http://download.enlightenment.org/releases/embryo-1.1.0.tar.gz'
|
2011-10-31 02:32:24 +00:00
|
|
|
homepage 'http://trac.enlightenment.org/e/wiki/Embryo'
|
2012-01-10 08:03:25 +00:00
|
|
|
md5 'aded5754ee7f586e3a0631e0fa3abcc8'
|
2011-10-31 02:32:24 +00:00
|
|
|
head 'http://svn.enlightenment.org/svn/e/trunk/embryo/', :using => :svn
|
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'eina'
|
|
|
|
|
2012-02-28 15:39:22 +00:00
|
|
|
if ARGV.build_head? and MacOS.xcode_version >= "4.3"
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
|
|
|
end
|
|
|
|
|
2011-10-31 02:32:24 +00:00
|
|
|
def install
|
|
|
|
system "./autogen.sh" if ARGV.build_head?
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|