2013-11-01 06:56:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Evas < Formula
|
|
|
|
homepage 'http://trac.enlightenment.org/e/wiki/Evas'
|
2013-11-20 02:47:45 +00:00
|
|
|
url 'http://download.enlightenment.org/releases/evas-1.7.9.tar.gz'
|
|
|
|
sha1 '5804cf35451f4e05185b6ae9103b0390c0dfed5d'
|
2013-11-01 06:56:49 +00:00
|
|
|
|
|
|
|
option 'with-docs', 'Install development libraries/headers and HTML docs'
|
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'eina'
|
|
|
|
depends_on 'eet'
|
2014-05-23 15:50:31 +00:00
|
|
|
depends_on 'freetype'
|
|
|
|
depends_on 'fontconfig'
|
2013-11-01 06:56:49 +00:00
|
|
|
depends_on 'fribidi'
|
|
|
|
depends_on 'harfbuzz'
|
2014-03-06 20:40:26 +00:00
|
|
|
depends_on 'doxygen' if build.with? "docs"
|
2013-11-01 06:56:49 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
args = ["--prefix=#{prefix}", "--disable-dependency-tracking"]
|
2014-03-06 20:40:26 +00:00
|
|
|
args << "--with-doxygen-file=#{HOMEBREW_PREFIX}/bin/doxygen" if build.with? "docs"
|
2013-11-01 06:56:49 +00:00
|
|
|
|
|
|
|
system "./configure", *args
|
|
|
|
|
|
|
|
system "make install"
|
2014-03-06 20:40:26 +00:00
|
|
|
system "make install-doc" if build.with? "docs"
|
2013-11-01 06:56:49 +00:00
|
|
|
end
|
|
|
|
end
|