aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnumeric.rb
blob: 938e148243a181eb9773d454e41367797309a02b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require "formula"

class Gnumeric < Formula
  homepage "http://projects.gnome.org/gnumeric/"
  url "http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.10/gnumeric-1.10.17.tar.bz2"
  sha256 "bb2a13424811d132fe1be7a6e82d61157a18c630fc91b7409503dbd7ef600ea5"

  option "python-scripting", "Enable Python scripting."

  depends_on "pkg-config" => :build
  depends_on "intltool" => :build
  depends_on "gettext"
  depends_on "goffice"
  depends_on "pygobject" if build.include? "python-scripting"
  depends_on "rarian"
  depends_on :x11

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end