source: scripts/scripts/untested/blfs-scripts/blfs-dbus.sh @ 7f65c0e

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 7f65c0e was 7f65c0e, checked in by Jim Gifford <clfs@…>, 15 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • 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.