20a8afe3c7
Closes Homebrew/homebrew#21176.
33 lines
893 B
Ruby
33 lines
893 B
Ruby
require 'formula'
|
|
|
|
class Midgard2 < Formula
|
|
homepage 'http://www.midgard-project.org/'
|
|
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'
|
|
|
|
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"
|
|
system "automake"
|
|
end
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--with-libgda5",
|
|
"--with-dbus-support",
|
|
"--enable-introspection=no"
|
|
system "make install"
|
|
end
|
|
end
|