06cb65df78
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.
23 lines
686 B
Ruby
23 lines
686 B
Ruby
require 'formula'
|
|
|
|
class Eina < Formula
|
|
url 'http://download.enlightenment.org/releases/eina-1.1.0.tar.gz'
|
|
homepage 'http://trac.enlightenment.org/e/wiki/Eina'
|
|
md5 'fedb3814427827c1bb777edea3c86298'
|
|
head 'http://svn.enlightenment.org/svn/e/trunk/eina/', :using => :svn
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
if ARGV.build_head? and MacOS.xcode_version >= "4.3"
|
|
depends_on "autoconf" => :build
|
|
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
|