diff options
| author | Luis Felipe Strano Moraes | 2011-10-31 00:32:24 -0200 |
|---|---|---|
| committer | Jack Nagel | 2011-11-07 17:09:01 -0600 |
| commit | e08a3f2c217353cd97715acc4f0ba517c472592c (patch) | |
| tree | 9f83c36268742ea7278781697b260a6b876d568b /Library/Formula | |
| parent | 681116218f772084abfd344bd4bd5a646f184bc9 (diff) | |
| download | homebrew-e08a3f2c217353cd97715acc4f0ba517c472592c.tar.bz2 | |
New formula: Embryo
Adding new library called Embryo, a tiny library designed to interpret
limited Small programs compiled by the included compiler, embryo_cc. It
is mostly a cleaned up and smaller version of the original Small
abstract machine.
Closes #8342.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/embryo.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/embryo.rb b/Library/Formula/embryo.rb new file mode 100644 index 000000000..5ea86bb6d --- /dev/null +++ b/Library/Formula/embryo.rb @@ -0,0 +1,22 @@ +require 'formula' + +class Embryo < Formula + url 'http://download.enlightenment.org/releases/embryo-1.0.0.tar.gz' + homepage 'http://trac.enlightenment.org/e/wiki/Embryo' + md5 '2d6269c931656d5714197e508b144f18' + head 'http://svn.enlightenment.org/svn/e/trunk/embryo/', :using => :svn + + depends_on 'pkg-config' => :build + depends_on 'eina' + + 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? + inreplace 'configure.ac', 'eina >= 1.0.999', 'eina >= 1.0.99' if ARGV.build_head? + system "./autogen.sh" if ARGV.build_head? + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end +end |
