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