source: scripts/untested/blfs-scripts/blfs-graphviz.sh@ 0ee931e

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0ee931e 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.1 KB
RevLine 
[617118d]1#!/bin/bash
2
3### graphviz ###
4
5cd ${SRC}
6LOG=graphviz-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 extra_conf="${extra_conf} --with-expatlibdir=/usr/${libdirname}"
18 # fix LIBPOSTFIX so we dont always search lib64 on x86_64, ppc64 etc
19 # when building 32bit
20 if [ "${libdirname}" = "lib" ]; then
21 sed -i -e "/LIBPOSTFIX/s@64@@g" configure
22 fi
23fi
24
25
26unpack_tarball graphviz-${GRAPHVIZ_VER}
27cd ${PKGDIR}
28
29max_log_init graphviz ${GRAPHVIZ_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
30CC="${CC-gcc} ${ARCH_CFLAGS}" \
31CXX="${CXX-g++} ${ARCH_CFLAGS}" \
32CFLAGS="${TGT_CFLAGS}" \
33CXXFLAGS="${TGT_CFLAGS}" \
34./configure --prefix=/usr ${extra_conf} \
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
48if [ "Y" = "${MULTIARCH}" ]; then
49 use_wrapper /usr/bin/dotneato-config
50fi
Note: See TracBrowser for help on using the repository browser.