midgard2: use spec deps

This commit is contained in:
Jack Nagel 2013-09-21 20:47:27 -05:00
parent 15416d8eee
commit 047437a06a

View file

@ -5,18 +5,18 @@ class Midgard2 < Formula
url 'https://github.com/downloads/midgardproject/midgard-core/midgard2-core-12.09.tar.gz'
sha1 'dc5f21833b4a9ba9e714dd523a563b7e6ee777af'
head 'https://github.com/midgardproject/midgard-core.git', :branch => 'ratatoskr'
head do
url 'https://github.com/midgardproject/midgard-core.git', :branch => 'ratatoskr'
depends_on :automake
depends_on :libtool
end
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 'dbus-glib'
depends_on 'libgda'
if build.head?
depends_on :automake
depends_on :libtool
end
def install
if build.head?
system "autoreconf", "-i", "--force"