blob: baa442a2483c3709a2cf4c695a8b4e3976e4dbdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
require "formula"
class Lynx < Formula
homepage "http://lynx.isc.org/release/"
url "http://lynx.isc.org/current/lynx2.8.8rel.2.tar.bz2"
version "2.8.8rel.2"
sha1 "65bbf95627c88723bbb5880155e5fe01c2753d0c"
revision 1
bottle do
revision 1
sha1 "5cec5cb413a991777ab1e8ede47059935feae1ca" => :mavericks
sha1 "afd1846fe40fc0bac8a4f54d5c06ded1d4eb3725" => :mountain_lion
sha1 "1ce39f3889f2b4e9a7f805236097f56fdbcf0fed" => :lion
end
depends_on "openssl"
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--disable-echo",
"--enable-default-colors",
"--with-zlib",
"--with-bzlib",
"--with-ssl=#{Formula["openssl"].opt_prefix}",
"--enable-ipv6"
system "make", "install"
end
test do
system "#{bin}/lynx", "-dump", "http://checkip.dyndns.org"
end
end
|