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
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | ### graphviz ###
|
---|
4 |
|
---|
5 | cd ${SRC}
|
---|
6 | LOG=graphviz-blfs.log
|
---|
7 |
|
---|
8 | SELF=`basename ${0}`
|
---|
9 | set_buildenv
|
---|
10 | set_libdirname
|
---|
11 | setup_multiarch
|
---|
12 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
13 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
14 | fi
|
---|
15 |
|
---|
16 | if [ "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
|
---|
23 | fi
|
---|
24 |
|
---|
25 |
|
---|
26 | unpack_tarball graphviz-${GRAPHVIZ_VER}
|
---|
27 | cd ${PKGDIR}
|
---|
28 |
|
---|
29 | max_log_init graphviz ${GRAPHVIZ_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
30 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
31 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
32 | CFLAGS="${TGT_CFLAGS}" \
|
---|
33 | CXXFLAGS="${TGT_CFLAGS}" \
|
---|
34 | ./configure --prefix=/usr ${extra_conf} \
|
---|
35 | >> ${LOGFILE} 2>&1 &&
|
---|
36 | echo " o Configure OK" &&
|
---|
37 |
|
---|
38 | min_log_init ${BUILDLOGS} &&
|
---|
39 | make \
|
---|
40 | >> ${LOGFILE} 2>&1 &&
|
---|
41 | echo " o Build OK" &&
|
---|
42 |
|
---|
43 | min_log_init ${INSTLOGS} &&
|
---|
44 | make install \
|
---|
45 | >> ${LOGFILE} 2>&1 &&
|
---|
46 | echo " o ALL OK" || barf
|
---|
47 |
|
---|
48 | if [ "Y" = "${MULTIARCH}" ]; then
|
---|
49 | use_wrapper /usr/bin/dotneato-config
|
---|
50 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.