homebrew-core/Formula/shared-mime-info.rb
2010-10-12 07:13:29 -07:00

20 lines
621 B
Ruby

require 'formula'
class SharedMimeInfo <Formula
url 'http://freedesktop.org/~hadess/shared-mime-info-0.70.tar.bz2'
homepage 'http://www.freedesktop.org/wiki/Software/shared-mime-info'
md5 '9032d98f14b8e13e0fea4bf45ca23401'
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