4d3b9155aa
This reverts commit e2e69aff7507c2c56b54f36aa4ec1faea47e4061. This fails to compile on Snow Leopard. Reported upstream: http://bugs.gw.com/view.php?id=230 Closes Homebrew/homebrew#16943.
19 lines
533 B
Ruby
19 lines
533 B
Ruby
require 'formula'
|
|
|
|
class Libmagic < Formula
|
|
homepage 'http://www.darwinsys.com/file/'
|
|
url 'ftp://ftp.astron.com/pub/file/file-5.11.tar.gz'
|
|
mirror 'http://fossies.org/unix/misc/file-5.11.tar.gz'
|
|
sha1 'df8ffe8759ec8cd85a98dc98e858563ea2555f64'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--enable-fsect-man5"
|
|
system "make install"
|
|
|
|
# Don't dupe this system utility
|
|
rm bin/"file"
|
|
rm man1/"file.1"
|
|
end
|
|
end
|