diff options
| author | Sebastian Roth | 2013-11-01 14:56:49 +0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-19 18:44:21 -0800 |
| commit | e546ebf786adc46c7fc84e7a03a3ac00089dd696 (patch) | |
| tree | 79e25b0873244a100ebc39961764beb3ab779864 /Library | |
| parent | a8033a2b6588e6f315282d3b9750671d70c3bd82 (diff) | |
| download | homebrew-e546ebf786adc46c7fc84e7a03a3ac00089dd696.tar.bz2 | |
evas 1.7.8
Closes #23854.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/evas.rb | 38 |
1 files changed, 38 insertions, 0 deletions
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 |
