aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gerbv.rb
diff options
context:
space:
mode:
authorSeverin Smith2010-10-30 21:58:47 -0400
committerAdam Vandenberg2010-10-30 23:04:33 -0700
commitbf11e319353014e18356b82ad6d51e3038e8a1b5 (patch)
treebb0ae719252d599011816a03d6a9b150020912d0 /Library/Formula/gerbv.rb
parent1a68f5f3fddd98e7234c36533cb287f4cee7b7a2 (diff)
downloadhomebrew-bf11e319353014e18356b82ad6d51e3038e8a1b5.tar.bz2
New Forumla for gerbv, a fantastic Gerber Viewer
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>
Diffstat (limited to 'Library/Formula/gerbv.rb')
-rw-r--r--Library/Formula/gerbv.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/gerbv.rb b/Library/Formula/gerbv.rb
new file mode 100644
index 000000000..01f572ff7
--- /dev/null
+++ b/Library/Formula/gerbv.rb
@@ -0,0 +1,22 @@
+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