aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-27 21:32:13 -0700
committerAdam Vandenberg2012-08-27 21:32:13 -0700
commit2ce037c112cacc734bb5aaa26b858c7799ec4378 (patch)
treecc6011275bb80427fbd9e9acb38a53525d8cf011 /Library
parent0cd2681056f93a18c05f69cb78066eea49aaa7ff (diff)
downloadhomebrew-2ce037c112cacc734bb5aaa26b858c7799ec4378.tar.bz2
eina: use new dsl
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/eina.rb8
1 files changed, 4 insertions, 4 deletions
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"