source: scripts/untested/blfs-scripts/blfs-espgs.sh @ 1a625f6

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

r570@server (orig r568): ryan | 2005-06-09 08:43:10 -0700

  • Remove --without-gimp-print option, if gimp print exists, we want it
  • Use -no-remove option to unpack_tarball when installing fonts
  • create -32 and -64 symlinks



  • 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}-source
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-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} -no-remove
51unpack_tarball gnu-gs-fonts-other-${GS_FONTS_OTHER_VER} -no-remove
52chown -R root:root *
Note: See TracBrowser for help on using the repository browser.