source: scripts/scripts/untested/blfs-scripts/blfs-xpdf.sh @ 7f65c0e

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

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100755
File size: 1.0 KB
Line 
1#!/bin/bash
2
3### xpdf ###
4
5cd ${SRC}
6LOG=xpdf-blfs.log
7
8SELF=`basename ${0}`
9set_libdirname
10setup_multiarch
11
12unpack_tarball xpdf-${XPDF_VER}
13
14case ${XPDF_VER} in
15   3.00 )
16      cd ${PKGDIR}/xpdf
17      apply_patch xpdf-3.00pl1 -Np0
18      apply_patch xpdf-3.00pl2 -Np0
19      apply_patch xpdf-3.00pl3 -Np0
20      cd ${SRC}/${PKGDIR}
21      apply_patch xpdf-3.00pl3-freetype_2.1.7_hack-2
22   ;;
23esac
24
25cd ${SRC}/${PKGDIR}
26
27max_log_init xpdf ${XPDF_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
28CC="${CC-gcc} ${ARCH_CFLAGS}" \
29CXX="${CXX-g++} ${ARCH_CFLAGS}" \
30CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
31CXXFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
32./configure --prefix=/usr \
33   --mandir=/usr/share/man \
34   --infodir=/usr/share/info \
35   --sysconfdir=/etc \
36   --enable-freetype2 \
37   --with-freetype2-includes=/usr/include/freetype2 \
38   --enable-a4-paper \
39   >> ${LOGFILE} 2>&1 &&
40echo " o Configure OK" &&
41
42min_log_init ${BUILDLOGS} &&
43make \
44   >> ${LOGFILE} 2>&1 &&
45echo " o Build OK" &&
46
47min_log_init ${INSTLOGS} &&
48make install \
49   >> ${LOGFILE} 2>&1 &&
50echo " o ALL OK" || barf
51
Note: See TracBrowser for help on using the repository browser.