Files
tigerbrew/Library/Formula/libmagic.rb
T
Nibbles 2bits aa96826869 libmagic 5.10
Upgrade libmagic to version 5.10.

Throw the --enable-fsect-man5 flag to configure because OSX uses
magic(5) not magic(4) when it comes to man page sections.

Closes #10198.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-21 23:31:42 -06:00

21 lines
592 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"
ENV.j1 # Remove some warnings during install
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