source: scripts/untested/blfs-scripts/blfs-lesstif.sh @ 617118d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 18 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
5cd ${SRC}
6LOG=lesstif-blfs.log
7
8SELF=`basename ${0}`
9set_buildenv
10set_libdirname
11setup_multiarch
12if [ ! "${libdirname}" = "lib" ]; then
13   extra_conf="--libdir=/usr/${libdirname}"
14fi
15
16unpack_tarball lesstif-${LESSTIF_VER}
17cd ${PKGDIR}
18
19apply_patch lesstif-0.94.0-use_libdir
20
21max_log_init lesstif ${LESSTIF_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
22CC="${CC-gcc} ${ARCH_CFLAGS}" \
23CXX="${CXX-g++} ${ARCH_CFLAGS}" \
24CFLAGS="${TGT_CFLAGS}" \
25CXXFLAGS="${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 &&
35echo " o Configure OK" &&
36
37min_log_init ${BUILDLOGS} &&
38make \
39   >> ${LOGFILE} 2>&1 &&
40echo " o Build OK" &&
41
42min_log_init ${INSTLOGS} &&
43make install \
44   >> ${LOGFILE} 2>&1 &&
45echo " 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 )
49if [ "Y" = "${MULTIARCH}" ]i; then
50   use_wrapper /usr/bin/mxmkmf
51fi
52
Note: See TracBrowser for help on using the repository browser.