clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 4af6403 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
|
Rev | Line | |
---|
[1c379e4] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | ### xpdf ###
|
---|
| 4 |
|
---|
| 5 | cd ${SRC}
|
---|
| 6 | LOG=xpdf-blfs.log
|
---|
| 7 |
|
---|
| 8 | SELF=`basename ${0}`
|
---|
| 9 | set_libdirname
|
---|
| 10 | setup_multiarch
|
---|
| 11 |
|
---|
| 12 | unpack_tarball xpdf-${XPDF_VER}
|
---|
| 13 |
|
---|
| 14 | case ${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 | ;;
|
---|
| 23 | esac
|
---|
| 24 |
|
---|
| 25 | cd ${SRC}/${PKGDIR}
|
---|
| 26 |
|
---|
| 27 | max_log_init xpdf ${XPDF_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
| 28 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
| 29 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
| 30 | CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
|
---|
| 31 | CXXFLAGS="-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 &&
|
---|
| 40 | echo " o Configure OK" &&
|
---|
| 41 |
|
---|
| 42 | min_log_init ${BUILDLOGS} &&
|
---|
| 43 | make \
|
---|
| 44 | >> ${LOGFILE} 2>&1 &&
|
---|
| 45 | echo " o Build OK" &&
|
---|
| 46 |
|
---|
| 47 | min_log_init ${INSTLOGS} &&
|
---|
| 48 | make install \
|
---|
| 49 | >> ${LOGFILE} 2>&1 &&
|
---|
| 50 | echo " o ALL OK" || barf
|
---|
| 51 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.