aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/intltool.rb
blob: c276a86937e495c43f1f49cadd302853cdaca2c1 (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
require 'formula'

class Intltool < Formula
  homepage 'http://www.freedesktop.org/wiki/Software/intltool'
  url 'http://launchpad.net/intltool/trunk/0.50.2/+download/intltool-0.50.2.tar.gz'
  sha1 '7fddbd8e1bf94adbf1bc947cbf3b8ddc2453f8ad'

  bottle do
    sha1 "36c951e99ec642add05e84acef83cf8c2bdb4b91" => :mavericks
    sha1 "edcf10d843211ca24dec1888281f3dfec76fa33b" => :mountain_lion
    sha1 "b2736b5eb60c9d346ef6f041f3fd66b220daca29" => :lion
  end

  # Even though this module is supposed to be there on Snow Leopard,
  # I've run into a situation where it isn't, and we have gotten other
  # reports of it happening. So, adding it here just to be safe.
  # @adamv
  depends_on 'XML::Parser' => :perl

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