source: custom/examples/963-lynx@ f1edc8e

ablfs-more legacy trunk
Last change on this file since f1edc8e 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
RevLine 
[781acdc]1#
2# $Id$
3#
4# Lynx is a text based web browser.
5#
6
7PKG="lynx"
[9543675]8PKG_VERSION="2.8.8rel.2"
[781acdc]9PKG_FILE="lynx${PKG_VERSION}.tar.bz2"
[9543675]10URL="ftp://lynx.isc.org/${PKG_FILE}"
11MD5="b231c2aa34dfe7ca25681ef4e55ee7e8"
[dcf0e25]12for i in PATCH{1..10}; do
13 unset $i
14done
[781acdc]15
16( cat << "xEOFx"
17
[9543675]18./configure --prefix=/usr \
[dcf0e25]19 --sysconfdir=/etc/lynx \
[9543675]20 --datadir=/usr/share/doc/lynx-2.8.8rel.2 \
21 --with-zlib \
22 --with-bzlib \
[dcf0e25]23 --with-screen=ncursesw \
24 --enable-locale-charset &&
[781acdc]25make
26
[dcf0e25]27make install-full &&
[9543675]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
[781acdc]33
34xEOFx
35) > tmp
Note: See TracBrowser for help on using the repository browser.