source:
custom/examples/963-lynx@
875366f
Last change on this file since 875366f was fd4a798, checked in by , 3 years ago | |
---|---|
|
|
File size: 822 bytes |
Rev | Line | |
---|---|---|
[781acdc] | 1 | # Lynx is a text based web browser. |
2 | # | |
3 | ||
4 | PKG="lynx" | |
[9543675] | 5 | PKG_VERSION="2.8.8rel.2" |
[781acdc] | 6 | PKG_FILE="lynx${PKG_VERSION}.tar.bz2" |
[9543675] | 7 | URL="ftp://lynx.isc.org/${PKG_FILE}" |
8 | MD5="b231c2aa34dfe7ca25681ef4e55ee7e8" | |
[dcf0e25] | 9 | for i in PATCH{1..10}; do |
10 | unset $i | |
11 | done | |
[781acdc] | 12 | |
13 | ( cat << "xEOFx" | |
14 | ||
[9543675] | 15 | ./configure --prefix=/usr \ |
[dcf0e25] | 16 | --sysconfdir=/etc/lynx \ |
[9543675] | 17 | --datadir=/usr/share/doc/lynx-2.8.8rel.2 \ |
18 | --with-zlib \ | |
19 | --with-bzlib \ | |
[dcf0e25] | 20 | --with-screen=ncursesw \ |
21 | --enable-locale-charset && | |
[781acdc] | 22 | make |
23 | ||
[dcf0e25] | 24 | make install-full && |
[9543675] | 25 | chgrp -v -R root /usr/share/doc/lynx-2.8.8rel.2/lynx_doc |
26 | ||
27 | sed -i 's/#\(LOCALE_CHARSET\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg | |
28 | sed -i 's/#\(DEFAULT_EDITOR\):/\1:vi/' /etc/lynx/lynx.cfg | |
29 | sed -i 's/#\(PERSISTENT_COOKIES\):FALSE/\1:TRUE/' /etc/lynx/lynx.cfg | |
[781acdc] | 30 | |
31 | xEOFx | |
32 | ) > tmp |
Note:
See TracBrowser
for help on using the repository browser.