homebrew-core/Formula/eina.rb
2012-08-27 21:32:13 -07:00

24 lines
604 B
Ruby

require 'formula'
class Eina < Formula
homepage 'http://trac.enlightenment.org/e/wiki/Eina'
url 'http://download.enlightenment.org/releases/eina-1.2.1.tar.gz'
sha1 '6a96fe66cdfc26681a38d5d666898fc3e7ab7cbe'
head 'http://svn.enlightenment.org/svn/e/trunk/eina/'
depends_on 'pkg-config' => :build
if build.head?
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
def install
system "./autogen.sh" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end