midgard2: use new dsl

This commit is contained in:
Adam Vandenberg 2012-08-26 22:50:22 -07:00
parent 56cb7cab0b
commit eace994334

View file

@ -12,13 +12,13 @@ class Midgard2 < Formula
depends_on 'dbus-glib'
depends_on 'libgda'
if ARGV.build_head?
if build.head?
depends_on :automake
depends_on :libtool
end
def install
if ARGV.build_head?
if build.head?
system "autoreconf", "-i", "--force"
system "automake"
end