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 |
|
---|
8 | cd ${SRC}
|
---|
9 | LOG=blfs-fam.log
|
---|
10 |
|
---|
11 | SELF=`basename ${0}`
|
---|
12 | set_buildenv
|
---|
13 | set_libdirname
|
---|
14 | setup_multiarch
|
---|
15 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
16 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
17 | fi
|
---|
18 |
|
---|
19 | unpack_tarball fam-${FAM_VER} &&
|
---|
20 | cd ${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 |
|
---|
35 | max_log_init fam ${FAM_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
36 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
37 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
38 | CFLAGS="${TGT_CFLAGS}" \
|
---|
39 | CXXFLAGS="${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 &&
|
---|
44 | echo " o Configure OK" &&
|
---|
45 |
|
---|
46 | min_log_init ${BUILDLOGS} &&
|
---|
47 | make ${PMFLAGS} \
|
---|
48 | >> ${LOGFILE} 2>&1 &&
|
---|
49 | echo " o Build OK" &&
|
---|
50 |
|
---|
51 | min_log_init ${INSTLOGS} &&
|
---|
52 | make install \
|
---|
53 | >> ${LOGFILE} 2>&1 &&
|
---|
54 | echo " o ALL OK" || barf
|
---|
55 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.