homebrew-core/Formula/shared-mime-info.rb
Brett Koonce 73b8a09af0 shared-mime-info 1.0
Closes Homebrew/homebrew#13740.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-29 15:41:57 -07:00

20 lines
629 B
Ruby

require 'formula'
class SharedMimeInfo < Formula
homepage 'http://www.freedesktop.org/wiki/Software/shared-mime-info'
url 'http://freedesktop.org/~hadess/shared-mime-info-1.0.tar.xz'
sha1 '146dbad62f5450116b0353f88bb8e700f0034013'
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