homebrew-core/Formula/lynx.rb
Adam Vandenberg 23e16b0781 lynx 2.8.8
2014-02-15 12:33:15 -08:00

24 lines
774 B
Ruby

require 'formula'
class Lynx < Formula
homepage 'http://lynx.isc.org/release/'
url 'http://lynx.isc.org/lynx2.8.8/lynx2.8.8.tar.bz2'
sha1 'cc925355db7a8631677e9da6bb632553da9744a0'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--disable-echo",
"--enable-default-colors",
"--with-zlib",
"--with-bzlib",
"--with-ssl=#{MacOS.sdk_path}/usr",
"--enable-ipv6"
system "make install"
end
test do
system "#{bin}/lynx", '-dump', 'http://checkip.dyndns.org'
end
end