gnu: Rename module gnutls to tls.
[jackhill/guix/guix.git] / gnu / packages / lynx.scm
CommitLineData
ece26246
MW
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
3;;;
4;;; This file is part of GNU Guix.
5;;;
6;;; GNU Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; GNU Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (gnu packages lynx)
20 #:use-module ((guix licenses) #:select (gpl2))
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix build-system gnu)
24 #:use-module (gnu packages pkg-config)
25 #:use-module (gnu packages perl)
26 #:use-module (gnu packages ncurses)
27 #:use-module (gnu packages libidn)
ece26246 28 #:use-module (gnu packages gnupg)
a7fd7b68 29 #:use-module (gnu packages tls)
ece26246
MW
30 #:use-module (gnu packages zip)
31 #:use-module (gnu packages compression))
32
33(define-public lynx
34 (package
35 (name "lynx")
5f32ba88 36 (version "2.8.8rel.2")
ece26246
MW
37 (source (origin
38 (method url-fetch)
5f32ba88
MW
39 (uri (string-append
40 "http://lynx.isc.org/lynx"
41 (substring version 0 (string-index version char-set:letter))
42 "/lynx" version ".tar.bz2"))
ece26246 43 (sha256
5f32ba88 44 (base32 "1rxysl08acqll5b87368f04kckl8sggy1qhnq59gsxyny1ffg039"))))
ece26246
MW
45 (build-system gnu-build-system)
46 (native-inputs `(("pkg-config" ,pkg-config)
47 ("perl" ,perl)))
48 (inputs `(("ncurses" ,ncurses)
49 ("libidn" ,libidn)
50 ("gnutls" ,gnutls)
51 ("libgcrypt" ,libgcrypt)
52 ("unzip" ,unzip)
53 ("zlib" ,zlib)
54 ("gzip" ,gzip)
55 ("bzip2" ,bzip2)))
56 (arguments
57 `(#:configure-flags '("--with-pkg-config"
58 "--with-screen=ncurses"
59 "--with-zlib"
60 "--with-bzlib"
61 "--with-gnutls"
62 ;; "--with-socks5" ; XXX TODO
63 "--enable-widec"
64 "--enable-ascii-ctypes"
65 "--enable-local-docs"
66 "--enable-htmlized-cfg"
67 "--enable-gzip-help"
68 "--enable-nls"
69 "--enable-ipv6")
70 #:tests? #f ; no check target
71 #:phases (alist-replace
72 'install
73 (lambda* (#:key (make-flags '()) #:allow-other-keys)
74 (zero? (apply system* "make" "install-full" make-flags)))
75 %standard-phases)))
76 (synopsis "Text Web Browser")
77 (description
78 "Lynx is a fully-featured World Wide Web (WWW) client for users running
79cursor-addressable, character-cell display devices. It will display Hypertext
80Markup Language (HTML) documents containing links to files on the local
81system, as well as files on remote systems running http, gopher, ftp, wais,
82nntp, finger, or cso/ph/qi servers. Lynx can be used to access information on
83the WWW, or to build information systems intended primarily for local
84access.")
85 (home-page "http://lynx.isc.org/")
86 (license gpl2)))
87
88;;; lynx.scm ends here