homebrew-core/Formula/gwyddion.rb
Tino Wagner ea63c15d17 gwyddion 2.37
Update Gwyddion to 2.37. Also removes the patch for the Python module
search path since it is no longer necessary.

Closes Homebrew/homebrew#30486.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-27 15:03:17 +01:00

25 lines
746 B
Ruby

require 'formula'
class Gwyddion < Formula
homepage 'http://gwyddion.net/'
url 'http://gwyddion.net/download/2.37/gwyddion-2.37.tar.gz'
sha1 '05e476de7ed920f72f444ce667646f6066d468d9'
depends_on :x11 => :optional
depends_on 'pkg-config' => :build
depends_on 'gtk+'
depends_on 'libxml2'
depends_on 'fftw'
depends_on 'gtkglext'
depends_on :python => :optional
depends_on 'pygtk' if build.with? 'python'
depends_on 'gtksourceview' if build.with? 'python'
def install
system "./configure", "--disable-dependency-tracking",
"--disable-desktop-file-update",
"--prefix=#{prefix}",
"--with-html-dir=#{doc}"
system "make install"
end
end