homebrew-core/Formula/embryo.rb
Max Howell 06cb65df78 These now depend on automake for Xcode >= 4.3
Fixes Homebrew/homebrew#10559.

Also added missing deps for osm2pgsql.

Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
2012-02-28 15:40:59 +00:00

23 lines
678 B
Ruby

require 'formula'
class Embryo < Formula
url 'http://download.enlightenment.org/releases/embryo-1.1.0.tar.gz'
homepage 'http://trac.enlightenment.org/e/wiki/Embryo'
md5 'aded5754ee7f586e3a0631e0fa3abcc8'
head 'http://svn.enlightenment.org/svn/e/trunk/embryo/', :using => :svn
depends_on 'pkg-config' => :build
depends_on 'eina'
if ARGV.build_head? and MacOS.xcode_version >= "4.3"
depends_on "automake" => :build
depends_on "libtool" => :build
end
def install
system "./autogen.sh" if ARGV.build_head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end