2011-10-28 16:51:19 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Eina < Formula
|
|
|
|
homepage 'http://trac.enlightenment.org/e/wiki/Eina'
|
2013-11-19 18:09:41 +00:00
|
|
|
url 'http://download.enlightenment.org/releases/eina-1.7.9.tar.gz'
|
|
|
|
sha1 '26f385e888b29876c8fb06f35f0433ab7e3251d5'
|
2012-05-10 14:10:12 +00:00
|
|
|
|
2014-10-22 14:41:51 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "93a7d9b07e718f429b3d93f3e9143d8108f944ef" => :yosemite
|
|
|
|
sha1 "ae012b17e012a4c628bfa794b56a4c3631e83f4c" => :mavericks
|
|
|
|
sha1 "40d088362766ee5cbec76517e3fb3e128d2a4738" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2013-09-20 15:15:52 +00:00
|
|
|
head do
|
|
|
|
url 'http://svn.enlightenment.org/svn/e/trunk/eina/'
|
2011-10-28 16:51:19 +00:00
|
|
|
|
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
|
|
|
|
|
2013-09-20 15:15:52 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
|
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
|