aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-11-13 00:57:02 -0600
committerJack Nagel2013-11-13 00:57:02 -0600
commitfd7baa198f5c84c76d9a32c58d65df50976032a9 (patch)
treebd86636e20e0953868fe7470fee6f03d664c928f /Library
parent826acbf104b2621dd150346337a7c4d105104f48 (diff)
downloadhomebrew-fd7baa198f5c84c76d9a32c58d65df50976032a9.tar.bz2
migard2: use autogen.sh for HEAD build
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/midgard2.rb19
1 files changed, 12 insertions, 7 deletions
diff --git a/Library/Formula/midgard2.rb b/Library/Formula/midgard2.rb
index aac0e12de..bafb40b12 100644
--- a/Library/Formula/midgard2.rb
+++ b/Library/Formula/midgard2.rb
@@ -18,16 +18,21 @@ class Midgard2 < Formula
depends_on 'libgda'
def install
+ args = %W[
+ --disable-dependency-tracking
+ --prefix=#{prefix}
+ --with-libgda5
+ --with-dbus-support
+ --enable-introspection=no
+ ]
+
if build.head?
- system "autoreconf", "-i", "--force"
- system "automake"
+ inreplace 'autogen.sh', 'libtoolize', 'glibtoolize'
+ system "./autogen.sh", *args
+ else
+ system "./configure", *args
end
- system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}",
- "--with-libgda5",
- "--with-dbus-support",
- "--enable-introspection=no"
system "make install"
end
end