blob: bf1da8af68eaece2f8261aef9fb83af7df41d53d (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-www/lynx/lynx-2.8.3-r1.ebuild,v 1.3 2000/09/15 20:09:16 drobbins Exp $
# NOW HAS SSLeay Support (so it will use the SSLeay library if found to
# do SSL connections :)
P=lynx-2.8.3
A="lynx-2.8.3.tar.gz lynx-283-ssl.patch.gz"
S=${WORKDIR}/lynx-2.8.3.rel1
SRC_URI="ftp://lynx.isc.org/lynx-2.8.3/lynx-2.8.3.tar.gz
http://www.moxienet.com/lynx/lynx-283-ssl.patch.gz"
HOMEPAGE="http://lynx.browser.org/"
DESCRIPTION="An excellent console-based web browser"
src_compile() {
export CFLAGS="${CFLAGS} -I/usr/include/openssl"
try ./configure --prefix=/usr --enable-cgi-links \
--enable-nsl-fork --libdir=/etc/lynx --enable-file-upload \
--enable-libjs --enable-color-style --enable-scrollbar \
--enable-nls --with-catgets --enable-included-msgs --with-zlib \
--with-x
try make
}
src_unpack() {
unpack lynx-2.8.3.tar.gz
cd ${S}
gzip -dc ${DISTDIR}/lynx-283-ssl.patch.gz | patch -p1
zcat ${O}/files/fr.po.gz > ${S}/po/fr.po
}
src_install() {
cd ${S}
into /
dodir /usr/bin
dodir /usr/share
dodir /etc/lynx
try make prefix=${D}/usr datadir=${D}/usr/share libdir=${D}/etc/lynx install
prepman
dodoc CHANGES COPYHEADER COPYING INSTALLATION PROBLEMS README
docinto docs
dodoc docs/*
docinto lynx_help
dodoc lynx_help/*.txt
docinto html
dodoc lynx_help/*.html
docinto html/keystrokes
dodoc lynx_help/keystrokes/*.html
}
|