homebrew-core/Formula/eina.rb

25 lines
614 B
Ruby
Raw Normal View History

require 'formula'
class Eina < Formula
homepage 'http://trac.enlightenment.org/e/wiki/Eina'
2012-05-10 14:10:12 +00:00
url 'http://download.enlightenment.org/releases/eina-1.1.0.tar.gz'
2012-07-07 18:08:22 +00:00
sha1 'b9dbfda79d0cc9cdc28a4a87125d339688bb65a4'
2012-05-10 14:10:12 +00:00
head 'http://svn.enlightenment.org/svn/e/trunk/eina/'
2012-07-07 18:08:22 +00:00
if ARGV.build_head?
depends_on :autoconf
depends_on :automake
depends_on :libtool
end
2012-07-07 18:08:22 +00:00
depends_on 'pkg-config' => :build
def install
system "./autogen.sh" if ARGV.build_head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end