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

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

  option :universal

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

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