2010-10-31 01:58:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gerbv < Formula
|
2011-02-08 19:52:16 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/gerbv/gerbv/gerbv-2.5.0/gerbv-2.5.0.tar.gz'
|
2010-10-31 01:58:47 +00:00
|
|
|
homepage 'http://gerbv.gpleda.org/'
|
2011-02-08 19:52:16 +00:00
|
|
|
md5 '633a55473f62b96fff302ed1ed52c88e'
|
2010-10-31 01:58:47 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'gtk+'
|
2011-04-08 18:16:37 +00:00
|
|
|
depends_on 'cairo' if MacOS.leopard?
|
2010-10-31 01:58:47 +00:00
|
|
|
|
|
|
|
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
|