From e546ebf786adc46c7fc84e7a03a3ac00089dd696 Mon Sep 17 00:00:00 2001 From: Sebastian Roth Date: Fri, 1 Nov 2013 14:56:49 +0800 Subject: evas 1.7.8 Closes #23854. Signed-off-by: Adam Vandenberg --- Library/Formula/evas.rb | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Library/Formula/evas.rb (limited to 'Library') diff --git a/Library/Formula/evas.rb b/Library/Formula/evas.rb new file mode 100644 index 000000000..8a31694b9 --- /dev/null +++ b/Library/Formula/evas.rb @@ -0,0 +1,38 @@ +require 'formula' + +class Evas < Formula + homepage 'http://trac.enlightenment.org/e/wiki/Evas' + url 'http://download.enlightenment.org/releases/evas-1.7.8.tar.gz' + sha1 'ce71de058896e80c8f1822d967a6dcee01a1c9ac' + + option 'with-docs', 'Install development libraries/headers and HTML docs' + + head do + url 'http://svn.enlightenment.org/svn/e/trunk/evas/' + + depends_on :automake + depends_on :libtool + end + + depends_on 'pkg-config' => :build + depends_on 'eina' + depends_on 'eet' + depends_on 'freetype' + depends_on 'fontconfig' + depends_on 'fribidi' + depends_on 'harfbuzz' + depends_on 'doxygen' if build.include? 'with-docs' + + def install + system "./autogen.sh" if build.head? + + args = ["--prefix=#{prefix}", "--disable-dependency-tracking"] + + args << "--with-doxygen-file=#{HOMEBREW_PREFIX}/bin/doxygen" if build.include? 'with-docs' + + system "./configure", *args + + system "make install" + system "make install-doc" if build.include? 'with-docs' + end +end -- cgit v1.2.3