f23f038431
Gerbv, http://gerbv.gpleda.org/index.html, is a simple graphical viewer for Gerber file which runs under GTK+. Gerber files are used to mill PCB and there is no other such tool available for mac/*nix. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
22 lines
614 B
Ruby
22 lines
614 B
Ruby
require 'formula'
|
|
|
|
class Gerbv <Formula
|
|
url 'http://downloads.sourceforge.net/project/gerbv/gerbv/gerbv-2.4.0/gerbv-2.4.0.tar.gz'
|
|
homepage 'http://gerbv.gpleda.org/'
|
|
md5 '56431417df2d246db87e225783097d75'
|
|
|
|
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
|