2010-11-25 10:10:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Gwyddion < Formula
|
2010-11-25 10:10:57 +00:00
|
|
|
homepage 'http://gwyddion.net/'
|
2012-05-19 19:22:01 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/gwyddion/gwyddion/2.28/gwyddion-2.28.tar.xz'
|
|
|
|
sha1 '9f93b236f39694a9d0c4e162a20ace963783ccea'
|
2010-11-25 10:10:57 +00:00
|
|
|
|
2012-05-19 19:22:01 +00:00
|
|
|
depends_on 'xz' => :build
|
2010-11-25 10:10:57 +00:00
|
|
|
depends_on 'gtk+'
|
|
|
|
depends_on 'libxml2'
|
|
|
|
depends_on 'fftw'
|
|
|
|
depends_on 'gtkglext'
|
|
|
|
|
|
|
|
def install
|
2012-05-19 19:22:01 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2010-11-25 10:10:57 +00:00
|
|
|
"--disable-desktop-file-update",
|
2012-05-19 19:22:01 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-html-dir=#{doc}"
|
2010-11-25 10:10:57 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|