From 2ce037c112cacc734bb5aaa26b858c7799ec4378 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 27 Aug 2012 21:32:13 -0700 Subject: eina: use new dsl --- Library/Formula/eina.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/eina.rb b/Library/Formula/eina.rb index 498d2f440..45756a775 100644 --- a/Library/Formula/eina.rb +++ b/Library/Formula/eina.rb @@ -7,16 +7,16 @@ class Eina < Formula head 'http://svn.enlightenment.org/svn/e/trunk/eina/' - if ARGV.build_head? + depends_on 'pkg-config' => :build + + if build.head? depends_on :autoconf depends_on :automake depends_on :libtool end - depends_on 'pkg-config' => :build - def install - system "./autogen.sh" if ARGV.build_head? + system "./autogen.sh" if build.head? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" -- cgit v1.2.3