homebrew-core/Formula/ggobi.rb
Chris Deigan bf16fa8327 New Formula: GGobi
GGobi is a tool for visualizing trends in datasets with high dimensionality.

Closes Homebrew/homebrew#7291.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-08-30 13:57:07 -07:00

24 lines
750 B
Ruby

require 'formula'
class Ggobi < Formula
url 'http://www.ggobi.org/downloads/ggobi-2.1.9.tar.bz2'
homepage 'http://www.ggobi.org'
md5 'b579861f157dfc6c5669604859352eb4'
depends_on 'gtk+'
depends_on 'glib'
depends_on 'atk'
depends_on 'cairo'
depends_on 'fontconfig'
depends_on 'pango'
depends_on 'gettext'
def install
# Necessary for ggobi to build - based on patch from MacPorts
# See: http://svn.macports.org/repository/macports/trunk/dports/science/ggobi/files/patch-src-texture.diff
inreplace 'src/texture.c', 'psort', 'p_sort'
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--with-all-plugins", "--prefix=#{prefix}"
system "make install"
end
end