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

class Libidl < Formula
  url 'http://ftp.acc.umu.se/pub/gnome/sources/libIDL/0.8/libIDL-0.8.14.tar.bz2'
  homepage 'http://ftp.acc.umu.se/pub/gnome/sources/libIDL/0.8/'
  md5 'bb8e10a218fac793a52d404d14adedcb'

  depends_on 'pkg-config' => :build
  depends_on 'gettext'
  depends_on 'glib'

  def options
    [['--universal', 'Build universal binaries.']]
  end

  def install
    ENV.universal_binary if ARGV.build_universal?
    system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
    system "make install"
  end
end