aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/intltool.rb
blob: 5592f89a9d06cc2114c35ef47ad152a1a54404d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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'

  # 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