2011-10-28 16:51:19 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Eina < Formula
|
|
|
|
homepage 'http://trac.enlightenment.org/e/wiki/Eina'
|
2013-05-24 03:21:14 +00:00
|
|
|
url 'http://download.enlightenment.org/releases/eina-1.7.7.tar.gz'
|
|
|
|
sha1 '74260d239cdf1f7da1f0ab106fb144fa23d74a87'
|
2012-05-10 14:10:12 +00:00
|
|
|
|
|
|
|
head 'http://svn.enlightenment.org/svn/e/trunk/eina/'
|
2011-10-28 16:51:19 +00:00
|
|
|
|
2012-08-28 04:32:13 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
|
|
|
if build.head?
|
2012-07-07 18:08:22 +00:00
|
|
|
depends_on :autoconf
|
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
2012-02-28 15:39:22 +00:00
|
|
|
end
|
|
|
|
|
2011-10-28 16:51:19 +00:00
|
|
|
def install
|
2012-08-28 04:32:13 +00:00
|
|
|
system "./autogen.sh" if build.head?
|
2011-10-28 16:51:19 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|