77b92bdc87
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
18 lines
525 B
Ruby
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
|