homebrew-core/Formula/libmagic.rb
Michael Glass 4c2d17a0c6 updated libmagic to 5.04
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-22 11:05:43 -07:00

18 lines
533 B
Ruby

require 'formula'
class Libmagic < Formula
url 'ftp://ftp.astron.com/pub/file/file-5.04.tar.gz'
homepage 'http://www.darwinsys.com/file/'
md5 'accade81ff1cc774904b47c72c8aeea0'
def keg_only?
"This brew provides 'libmagic', but also installs a 'file' command which shadows the OS X-provided one."
end
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make"
ENV.j1 # Remove some warnings during install
system "make install"
end
end