homebrew-core/Formula/libmagic.rb
Jack Nagel 77b92bdc87 libmagic: builds in parallel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-21 23:31:42 -06:00

18 lines
525 B
Ruby

require 'formula'
class Libmagic < Formula
homepage 'http://www.darwinsys.com/file/'
url 'ftp://ftp.astron.com/pub/file/file-5.10.tar.gz'
sha1 '72fd435e78955ee122b7b3d323ff2f92e6263e89'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-fsect-man5"
system "make install"
# don't dupe this system utility and this formula is called "libmagic" not "file"
rm bin/"file"
rm man1/"file.1"
end
end