source: scripts/untested/blfs-scripts/blfs-openjade.sh@ b15e4602

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b15e4602 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.5 KB
RevLine 
[617118d]1#!/bin/bash
2
3### openjade ###
4
5cd ${SRC}
6LOG=openjade-blfs.log
7
8SELF=`basename ${0}`
9set_buildenv
10set_libdirname
11setup_multiarch
12if [ ! "${libdirname}" = "lib" ]; then
13 extra_conf="--libdir=/usr/${libdirname}"
14fi
15
16unpack_tarball openjade-${OPENJADE_VER}
17cd ${PKGDIR}
18
19max_log_init openjade ${OPENJADE_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
20CC="${CC-gcc} ${ARCH_CFLAGS}" \
21CXX="${CXX-g++} ${ARCH_CFLAGS}" \
22CFLAGS="${TGT_CFLAGS}" \
23CXXFLAGS="${TGT_CFLAGS}" \
24./configure --prefix=/usr --disable-static \
25 ${extra_conf} --enable-http \
26 --enable-splibdir=/usr/${libdirname} \
27 --enable-default-catalog=/etc/sgml/catalog \
28 --enable-default-search-path=/usr/share/sgml \
29 --datadir=/usr/share/sgml/openjade-${OPENJADE_VER} \
30 >> ${LOGFILE} 2>&1 &&
31echo " o Configure OK" &&
32
33min_log_init ${BUILDLOGS} &&
34make ${PMFLAGS} \
35 >> ${LOGFILE} 2>&1 &&
36echo " o Build OK" &&
37
38min_log_init ${INSTLOGS} &&
39make install \
40 >> ${LOGFILE} 2>&1 &&
41echo " o ALL OK" || barf
42
43ln -sf openjade /usr/bin/jade &&
44ln -sf libogrove.so /usr/${libdirname}/libgrove.so &&
45ln -sf libospgrove.so /usr/${libdirname}/libspgrove.so &&
46ln -sf libostyle.so /usr/${libdirname}/libstyle.so &&
47install -m644 dsssl/catalog /usr/share/sgml/openjade-${OPENJADE_VER}/ &&
48install -m644 dsssl/*.{dtd,dsl,sgm} \
49 /usr/share/sgml/openjade-${OPENJADE_VER} &&
50install-catalog --add /etc/sgml/openjade-${OPENJADE_VER}.cat \
51 /usr/share/sgml/openjade-${OPENJADE_VER}/catalog &&
52install-catalog --add /etc/sgml/sgml-docbook.cat \
53 /etc/sgml/openjade-${OPENJADE_VER}.cat
54
Note: See TracBrowser for help on using the repository browser.