source: custom/examples/963-lynx@ f37d08b

2.4 ablfs-more legacy trunk
Last change on this file since f37d08b was 9543675, checked in by Pierre Labastie <pierre@…>, 9 years ago

Update custom/examples. Thanks to Tom Armistead for the patch.

  • Property mode set to 100644
File size: 833 bytes
Line 
1#
2# $Id$
3#
4# Lynx is a text based web browser.
5#
6
7PKG="lynx"
8PKG_VERSION="2.8.8rel.2"
9PKG_FILE="lynx${PKG_VERSION}.tar.bz2"
10URL="ftp://lynx.isc.org/${PKG_FILE}"
11MD5="b231c2aa34dfe7ca25681ef4e55ee7e8"
12for i in PATCH{1..10}; do
13 unset $i
14done
15
16( cat << "xEOFx"
17
18./configure --prefix=/usr \
19 --sysconfdir=/etc/lynx \
20 --datadir=/usr/share/doc/lynx-2.8.8rel.2 \
21 --with-zlib \
22 --with-bzlib \
23 --with-screen=ncursesw \
24 --enable-locale-charset &&
25make
26
27make install-full &&
28chgrp -v -R root /usr/share/doc/lynx-2.8.8rel.2/lynx_doc
29
30sed -i 's/#\(LOCALE_CHARSET\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg
31sed -i 's/#\(DEFAULT_EDITOR\):/\1:vi/' /etc/lynx/lynx.cfg
32sed -i 's/#\(PERSISTENT_COOKIES\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg
33
34xEOFx
35) > tmp
Note: See TracBrowser for help on using the repository browser.