homebrew-core/Formula/shared-mime-info.rb
2011-03-12 11:55:09 -08:00

20 lines
622 B
Ruby

require 'formula'
class SharedMimeInfo < Formula
url 'http://freedesktop.org/~hadess/shared-mime-info-0.90.tar.bz2'
homepage 'http://www.freedesktop.org/wiki/Software/shared-mime-info'
md5 '967d68d3890ba3994cfce3adf5b8f15b'
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'intltool'
depends_on 'glib'
def install
# Disable the post-install update-mimedb due to crash
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-update-mimedb"
system "make install"
end
end