From 0586f163744bb1b40b6ee74cbd45fdee3959a177 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 25 Aug 2014 23:39:16 -0500 Subject: geda-gaf: clean up install --- Library/Formula/geda-gaf.rb | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/geda-gaf.rb b/Library/Formula/geda-gaf.rb index 0e80e9ed9..77757ef0f 100644 --- a/Library/Formula/geda-gaf.rb +++ b/Library/Formula/geda-gaf.rb @@ -18,27 +18,11 @@ class GedaGaf < Formula depends_on :x11 def install - gettext = Formula['gettext'] - - args = [ - "--prefix=#{prefix}", - "--with-gettext=#{gettext.prefix}", - "--disable-update-xdg-database", - "--with-pcb-datadir=#{HOMEBREW_PREFIX}/share/pcb" - ] - - if build.stable? - pcb = Formula['pcb'] - args << "--with-pcb-confdir=#{pcb.etc}/pcb" - end - - system "./configure", *args + system "./configure", "--prefix=#{prefix}", + "--disable-update-xdg-database", + "--with-pcb-datadir=#{HOMEBREW_PREFIX}/share/pcb" system "make" system "make install" end - - def caveats - "This software runs under X11." - end end -- cgit v1.2.3