homebrew-core/Formula/libmagic.rb

19 lines
540 B
Ruby
Raw Normal View History

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'
keg_only <<-KEG.undent
This brew provides 'libmagic', but also installs a 'file' command which shadows the OS X-provided one.
KEG
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