source: scripts/untested/blfs-scripts/blfs-fam.sh@ 66f17d5

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 66f17d5 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.2 KB
Line 
1#!/bin/bash
2#
3# fam
4#
5# Dependencies: portmap
6#
7
8cd ${SRC}
9LOG=blfs-fam.log
10
11SELF=`basename ${0}`
12set_buildenv
13set_libdirname
14setup_multiarch
15if [ ! "${libdirname}" = "lib" ]; then
16 extra_conf="--libdir=/usr/${libdirname}"
17fi
18
19unpack_tarball fam-${FAM_VER} &&
20cd ${PKGDIR}
21
22# There are issues with linux-libc-headers and the dnotify patch
23# For now comment out
24#case ${FAM_VER} in
25# 2.7.0 )
26# apply_patch fam-2.7.0-dnotify-1
27# ;;
28# * )
29# echo "*** Please check if fam ${FAM_VER} requires patching ***"
30# echo "*** then please update this script (and send patch) ***"
31# exit 1
32# ;;
33#esac
34
35max_log_init fam ${FAM_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
36CC="${CC-gcc} ${ARCH_CFLAGS}" \
37CXX="${CXX-g++} ${ARCH_CFLAGS}" \
38CFLAGS="${TGT_CFLAGS}" \
39CXXFLAGS="${TGT_CFLAGS}" \
40 ./configure --prefix=/usr --build="${TARGET}" \
41 --mandir=/usr/share/man --infodir=/usr/share/info \
42 --sysconfdir=/etc ${extra_conf} \
43 >> ${LOGFILE} 2>&1 &&
44echo " o Configure OK" &&
45
46min_log_init ${BUILDLOGS} &&
47make ${PMFLAGS} \
48 >> ${LOGFILE} 2>&1 &&
49echo " o Build OK" &&
50
51min_log_init ${INSTLOGS} &&
52make install \
53 >> ${LOGFILE} 2>&1 &&
54echo " o ALL OK" || barf
55
Note: See TracBrowser for help on using the repository browser.