2010-02-16 06:08:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libidl < Formula
|
2010-05-05 22:03:07 +00:00
|
|
|
url 'http://ftp.acc.umu.se/pub/gnome/sources/libIDL/0.8/libIDL-0.8.14.tar.bz2'
|
2010-02-16 06:08:35 +00:00
|
|
|
homepage 'http://ftp.acc.umu.se/pub/gnome/sources/libIDL/0.8/'
|
2010-05-05 22:03:07 +00:00
|
|
|
md5 'bb8e10a218fac793a52d404d14adedcb'
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-02-16 06:08:35 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'glib'
|
|
|
|
|
2011-06-05 15:08:57 +00:00
|
|
|
def options
|
|
|
|
[['--universal', 'Build universal binaries.']]
|
|
|
|
end
|
|
|
|
|
2010-02-16 06:08:35 +00:00
|
|
|
def install
|
2011-06-05 15:08:57 +00:00
|
|
|
ENV.universal_binary if ARGV.build_universal?
|
2010-05-05 22:03:07 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
2010-02-16 06:08:35 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|