source: scripts/untested/blfs-scripts/blfs-lynx.sh@ 1c379e4

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1c379e4 was 873009c, checked in by Jim Gifford <clfs@…>, 19 years ago

r579@server (orig r577): ryan | 2005-06-09 08:56:19 -0700
Add a lynx buildscript. USE_SLANG should be specified on the environment
if you want to link against libslang instead of (n)curses.



  • Property mode set to 100755
File size: 741 bytes
Line 
1#!/bin/bash
2
3### lynx ###
4
5cd ${SRC}
6LOG=lynx-blfs.log
7
8set_libdirname
9setup_multiarch
10
11unpack_tarball lynx${LYNX_VER}
12cd ${PKGDIR}
13
14# Do we want to use slang, curses or ncurses?
15# need to set --with-screen=
16if [ "${USE_SLANG}" = "Y" ]; then
17 extra_conf="--with-screen=slang"
18fi
19
20max_log_init lynx ${LYNX_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
21CC="${CC-gcc} ${ARCH_CFLAGS}" \
22CFLAGS="${TGT_CFLAGS}" \
23./configure \
24 --prefix=/usr --libdir=/etc \
25 --with-zlib --with-bzlib \
26 --with-ssl ${extra_conf} \
27 >> ${LOGFILE} 2>&1 &&
28echo " o Configure OK" &&
29
30min_log_init ${BUILDLOGS}
31make \
32 >> ${LOGFILE} 2>&1 &&
33echo " o Build OK" || barf
34
35min_log_init ${INSTLOGS}
36make install \
37 >> ${LOGFILE} 2>&1 &&
38echo " o Install OK" || barf
39
Note: See TracBrowser for help on using the repository browser.