source: scripts/untested/blfs-scripts/blfs-tex.sh@ 0ee931e

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0ee931e 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.1 KB
RevLine 
[617118d]1#!/bin/bash
2
3### tetex ###
4
5cd ${SRC}
6LOG=tetex-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 tetex-src-${TETEX_VER}
17#save pkgdir
18OLD_PKGDIR=${PKGDIR}
19mkdir -p /usr/share/texmf
20cd /usr/share/texmf
21unpack_tarball tetex-texmf-${TETEX_VER}
22unpack_tarball tetex-texmfsrc-${TETEX_VER}
23
24PKGDIR=${OLD_PKGDIR}
25
26cd ${SRC}/${PKGDIR}
27
28apply_patch tetex-src-2.0.2-flex-1
29apply_patch tetex-src-2.0.2-remove_readlink-1
30
31max_log_init tetex ${TETEX_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
32CC="${CC-gcc} ${ARCH_CFLAGS}" \
33CXX="${CXX-g++} ${ARCH_CFLAGS}" \
34CFLAGS="${TGT_CFLAGS}" \
35CXXFLAGS="${TGT_CFLAGS}" \
36./configure --prefix=/usr \
37 --with-system-ncurses --with-system-zlib \
38 --with-system-pnglib --without-texinfo \
39 --exec-prefix=/usr --bindir=/usr/bin ${extra_conf} \
40 >> ${LOGFILE} 2>&1 &&
41echo " o Configure OK" &&
42
43min_log_init ${BUILDLOGS} &&
44make world \
45 >> ${LOGFILE} 2>&1 &&
46echo " o Build OK" || barf
47
48texconfig dvips paper a4
49texconfig font rw
Note: See TracBrowser for help on using the repository browser.