blob: 46c1cb1fcfdb94b997751c789c1d83c18fb115e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
require 'formula'
class Gwyddion < Formula
homepage 'http://gwyddion.net/'
url 'http://gwyddion.net/download/2.39/gwyddion-2.39.tar.gz'
sha1 '05ae35544b2f68939f6474fc8edb1f0395d10427'
bottle do
sha1 "6248a7dc780ba3cbea3aad2ae8682183445a112d" => :yosemite
sha1 "998824b3b4b87fae0a638a1c68ff8570ba51c4a5" => :mavericks
sha1 "5b92dafd899ac4550b066680fb1457d1205cb4de" => :mountain_lion
end
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
|