clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 8a3554d was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago |
r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure
|
-
Property mode
set to
100755
|
File size:
1.0 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # cross-lfs native groff build
|
---|
4 | # ----------------------------
|
---|
5 | # $LastChangedBy$
|
---|
6 | # $LastChangedDate$
|
---|
7 | # $LastChangedRevision$
|
---|
8 | # $HeadURL$
|
---|
9 | #
|
---|
10 |
|
---|
11 | cd ${SRC}
|
---|
12 | LOG=groff-native.log
|
---|
13 |
|
---|
14 | set_libdirname
|
---|
15 | setup_multiarch
|
---|
16 |
|
---|
17 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
18 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
19 | fi
|
---|
20 |
|
---|
21 | unpack_tarball groff-${GROFF_VER}
|
---|
22 | cd ${PKGDIR}
|
---|
23 |
|
---|
24 | max_log_init Groff ${GROFF_VER} "native (shared)" ${CONFLOGS} ${LOG}
|
---|
25 |
|
---|
26 | # Assuming page size will be set correctly according to locale
|
---|
27 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
28 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
29 | CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
|
---|
30 | CXXFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
|
---|
31 | ./configure \
|
---|
32 | --prefix=/usr ${extra_conf} \
|
---|
33 | --mandir=/usr/share/man \
|
---|
34 | --infodir=/usr/share/info \
|
---|
35 | >> ${LOGFILE} 2>&1 &&
|
---|
36 | echo " o Configure OK" &&
|
---|
37 |
|
---|
38 | min_log_init ${BUILDLOGS} &&
|
---|
39 | make LDFLAGS="-s" \
|
---|
40 | >> ${LOGFILE} 2>&1 &&
|
---|
41 | echo " o Build OK" &&
|
---|
42 |
|
---|
43 | make install \
|
---|
44 | >> ${LOGFILE} 2>&1 &&
|
---|
45 | echo " o ALL OK" || barf
|
---|
46 |
|
---|
47 | ln -sf soelim /usr/bin/zsoelim
|
---|
48 | ln -sf eqn /usr/bin/geqn
|
---|
49 | ln -sf tbl /usr/bin/gtbl
|
---|
50 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.