diff options
| author | Luis Felipe Strano Moraes | 2011-10-28 14:51:19 -0200 |
|---|---|---|
| committer | Jack Nagel | 2011-11-07 17:05:18 -0600 |
| commit | 11d928312cfbeaee465bed4537823d689f3fa8c5 (patch) | |
| tree | a933ee3ab1a9d56ded05be68786279a97d35676e /Library/Formula | |
| parent | da60f365021188bb096b28c5c1a5d9941ba72cdd (diff) | |
| download | homebrew-11d928312cfbeaee465bed4537823d689f3fa8c5.tar.bz2 | |
New formula: Eina
Adding new library called Eina, it is the first library of the
Enlightenment Foundation Libraries (or EFL) and which is used by almost
all of the others. It provides a set of default data structures, such
as Lists and shared Strings.
Closes #8342.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/eina.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/eina.rb b/Library/Formula/eina.rb new file mode 100644 index 000000000..1d342ba62 --- /dev/null +++ b/Library/Formula/eina.rb @@ -0,0 +1,20 @@ +require 'formula' + +class Eina < Formula + url 'http://download.enlightenment.org/releases/eina-1.0.1.tar.gz' + homepage 'http://trac.enlightenment.org/e/wiki/Eina' + md5 'd302a5b981d8e140e64d2943c5f41bdc' + head 'http://svn.enlightenment.org/svn/e/trunk/eina/', :using => :svn + + depends_on 'pkg-config' => :build + + def install + # hack to allow building with current trunk, will be made obsolete after 1.1 + # is released: http://comments.gmane.org/gmane.comp.window-managers.enlightenment.devel/30780 + inreplace 'configure.ac', 'm4_define([v_mic], [999])', 'm4_define([v_mic], [99])' if ARGV.build_head? + system "./autogen.sh" if ARGV.build_head? + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end +end |
