2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-29 02:58:37 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Lynx < Formula
|
2009-09-29 02:58:37 +00:00
|
|
|
homepage 'http://lynx.isc.org/release/'
|
2014-03-10 14:50:42 +00:00
|
|
|
url 'http://lynx.isc.org/current/lynx2.8.8rel.2.tar.bz2'
|
|
|
|
version '2.8.8rel.2'
|
|
|
|
sha1 '65bbf95627c88723bbb5880155e5fe01c2753d0c'
|
2009-09-29 02:58:37 +00:00
|
|
|
|
2014-03-30 02:27:38 +00:00
|
|
|
depends_on "openssl"
|
|
|
|
|
2009-09-29 02:58:37 +00:00
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2010-03-08 11:33:43 +00:00
|
|
|
"--mandir=#{man}",
|
2009-09-29 02:58:37 +00:00
|
|
|
"--disable-echo",
|
2014-02-09 15:39:03 +00:00
|
|
|
"--enable-default-colors",
|
2009-09-29 02:58:37 +00:00
|
|
|
"--with-zlib",
|
2010-03-01 17:11:57 +00:00
|
|
|
"--with-bzlib",
|
2014-03-30 02:27:38 +00:00
|
|
|
"--with-ssl=#{Formula["openssl"].opt_prefix}",
|
2010-03-01 17:11:57 +00:00
|
|
|
"--enable-ipv6"
|
2009-09-29 02:58:37 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2014-01-16 01:40:09 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/lynx", '-dump', 'http://checkip.dyndns.org'
|
|
|
|
end
|
2009-09-29 02:58:37 +00:00
|
|
|
end
|