source: scripts/untested/blfs-scripts/blfs-xpdf.sh@ 834dec0

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 834dec0 was 1c379e4, checked in by Jim Gifford <clfs@…>, 19 years ago

r589@server (orig r587): ryan | 2005-08-05 22:57:16 -0700
Add a pile of new scripts, and add -32 and -64 symlinks



  • 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.