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