source: scripts/untested/blfs-scripts/blfs-dbus.sh@ e5345f18

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since e5345f18 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: 982 bytes
Line 
1#!/bin/bash
2
3### dbus ###
4
5cd ${SRC}
6LOG=dbus-blfs.log
7
8SELF=`basename ${0}`
9set_buildenv
10set_libdirname
11setup_multiarch
12if [ ! "${libdirname}" = "lib" ]; then
13 extra_conf="--libdir=/usr/${libdirname}"
14fi
15
16if [ "Y" = "${MULTIARCH}" ]; then
17 # temporarily set PYTHON env var
18 export PYTHON=python${suffix}
19fi
20
21unpack_tarball dbus-${DBUS_VER}
22cd ${PKGDIR}
23
24max_log_init dbus ${DBUS_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
25CC="${CC-gcc} ${ARCH_CFLAGS}" \
26CXX="${CXX-g++} ${ARCH_CFLAGS}" \
27CFLAGS="${TGT_CFLAGS}" \
28CXXFLAGS="${TGT_CFLAGS}" \
29./configure --prefix=/usr ${extra_conf} \
30 --localstatedir=/var \
31 --sysconfdir=/etc \
32 --with-xml=libxml \
33 --mandir=/usr/share/man \
34 --infodir=/usr/share/info \
35 >> ${LOGFILE} 2>&1 &&
36echo " o Configure OK" &&
37
38min_log_init ${BUILDLOGS} &&
39make \
40 >> ${LOGFILE} 2>&1 &&
41echo " o Build OK" &&
42
43min_log_init ${INSTLOGS} &&
44make install \
45 >> ${LOGFILE} 2>&1 &&
46echo " o ALL OK" || barf
47
48# Need to create a startup script
Note: See TracBrowser for help on using the repository browser.