aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gerbv.rb
blob: 713e1d20543f943f0a5711112037bd91836c647b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Gerbv <Formula
  url 'http://downloads.sourceforge.net/project/gerbv/gerbv/gerbv-2.5.0/gerbv-2.5.0.tar.gz'
  homepage 'http://gerbv.gpleda.org/'
  md5 '633a55473f62b96fff302ed1ed52c88e'

  depends_on 'pkg-config' => :build
  depends_on 'gtk+'
  depends_on 'cairo' if MACOS_VERSION < 10.6

  def install
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--disable-update-desktop-database"
    system "make install"
  end

  def caveats
    "Note: gerbv is an X11 application."
  end
end