clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 61c0e64 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.1 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | ### lesstif ###
|
---|
4 |
|
---|
5 | cd ${SRC}
|
---|
6 | LOG=lesstif-blfs.log
|
---|
7 |
|
---|
8 | SELF=`basename ${0}`
|
---|
9 | set_buildenv
|
---|
10 | set_libdirname
|
---|
11 | setup_multiarch
|
---|
12 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
13 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
14 | fi
|
---|
15 |
|
---|
16 | unpack_tarball lesstif-${LESSTIF_VER}
|
---|
17 | cd ${PKGDIR}
|
---|
18 |
|
---|
19 | apply_patch lesstif-0.94.0-use_libdir
|
---|
20 |
|
---|
21 | max_log_init lesstif ${LESSTIF_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
22 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
23 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
24 | CFLAGS="${TGT_CFLAGS}" \
|
---|
25 | CXXFLAGS="${TGT_CFLAGS}" \
|
---|
26 | ./configure --prefix=/usr ${extra_conf} \
|
---|
27 | --enable-build-21 \
|
---|
28 | --disable-debug \
|
---|
29 | --enable-production \
|
---|
30 | --disable-build-tests \
|
---|
31 | --with-xdnd \
|
---|
32 | --mandir=/usr/share/man \
|
---|
33 | --infodir=/usr/share/info \
|
---|
34 | >> ${LOGFILE} 2>&1 &&
|
---|
35 | echo " o Configure OK" &&
|
---|
36 |
|
---|
37 | min_log_init ${BUILDLOGS} &&
|
---|
38 | make \
|
---|
39 | >> ${LOGFILE} 2>&1 &&
|
---|
40 | echo " o Build OK" &&
|
---|
41 |
|
---|
42 | min_log_init ${INSTLOGS} &&
|
---|
43 | make install \
|
---|
44 | >> ${LOGFILE} 2>&1 &&
|
---|
45 | echo " o ALL OK" || barf
|
---|
46 |
|
---|
47 | # TODO: Need to edit /usr/bin/mxmkmf to set the correct libdir ...
|
---|
48 | # (it really should be setup fom --libdir )
|
---|
49 | if [ "Y" = "${MULTIARCH}" ]i; then
|
---|
50 | use_wrapper /usr/bin/mxmkmf
|
---|
51 | fi
|
---|
52 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.