source: scripts/untested/blfs-scripts/blfs-espgs.sh@ 617118d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 617118d 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.2 KB
Line 
1#!/bin/bash
2
3### espgs ###
4
5cd ${SRC}
6LOG=espgs-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 espgs-${ESPGS_VER}
17cd ${PKGDIR}
18
19# NOTE: check /usr/bin/cups-config(-32,-64} to ensure no rpaths are set
20
21max_log_init espgs ${ESPGS_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
22CC="${CC-gcc} ${ARCH_CFLAGS}" \
23CXX="${CXX-g++} ${ARCH_CFLAGS}" \
24CFLAGS="${TGT_CFLAGS}" \
25CXXFLAGS="${TGT_CFLAGS}" \
26./configure --prefix=/usr --without-gimp-print --without-omni ${extra_conf} \
27 --with-ijs \
28 >> ${LOGFILE} 2>&1 &&
29echo " o Configure OK" &&
30
31min_log_init ${BUILDLOGS} &&
32make \
33 >> ${LOGFILE} 2>&1 &&
34echo " o Build OK" &&
35
36min_log_init ${INSTLOGS} &&
37make install \
38 >> ${LOGFILE} 2>&1 &&
39make CFLAGS_SO='-fPIC $(ACDEFS)' so \
40 >> ${LOGFILE} 2>&1 &&
41make soinstall \
42 >> ${LOGFILE} 2>&1 &&
43echo " o ALL OK" || barf
44
45install -d -m755 /usr/include/ps &&
46install -m644 src/*.h /usr/include/ps
47
48# Now, install fonts
49cd /usr/share/ghostscript
50unpack_tarball ghostscript-fonts-std-${GS_FONTS_STD_VER}
51unpack_tarball gnu-gs-fonts-other-${GS_FONTS_OTHER_VER}
52chown -R root:root *
Note: See TracBrowser for help on using the repository browser.