homebrew-core/Formula/shared-mime-info.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

20 lines
611 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'
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