22 lines
615 B
Ruby
22 lines
615 B
Ruby
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
|