homebrew-core/Formula/gts.rb
John Benediktsson bd57b2f926 gts: add --universal option
Closes Homebrew/homebrew#14165.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-14 15:41:13 -05:00

20 lines
488 B
Ruby

require 'formula'
class Gts < Formula
homepage 'http://gts.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/gts/gts/0.7.6/gts-0.7.6.tar.gz'
md5 '9f710aefd2ed9b3cc1b1216171fc5a8a'
option :universal
depends_on 'gettext'
depends_on 'glib'
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end