clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
|
Last change
on this file since 8080e7a was 617118d, checked in by Jim Gifford <clfs@…>, 20 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
|
| Line | |
|---|
| 1 | #!/bin/bash
|
|---|
| 2 |
|
|---|
| 3 | ### tetex ###
|
|---|
| 4 |
|
|---|
| 5 | cd ${SRC}
|
|---|
| 6 | LOG=tetex-blfs.log
|
|---|
| 7 |
|
|---|
| 8 | SELF=`basename ${0}`
|
|---|
| 9 | set_buildenv
|
|---|
| 10 | set_libdirname
|
|---|
| 11 | setup_multiarch
|
|---|
| 12 | if [ ! "${libdirname}" = "lib" ]; then
|
|---|
| 13 | extra_conf="--libdir=/usr/${libdirname}"
|
|---|
| 14 | fi
|
|---|
| 15 |
|
|---|
| 16 | unpack_tarball tetex-src-${TETEX_VER}
|
|---|
| 17 | #save pkgdir
|
|---|
| 18 | OLD_PKGDIR=${PKGDIR}
|
|---|
| 19 | mkdir -p /usr/share/texmf
|
|---|
| 20 | cd /usr/share/texmf
|
|---|
| 21 | unpack_tarball tetex-texmf-${TETEX_VER}
|
|---|
| 22 | unpack_tarball tetex-texmfsrc-${TETEX_VER}
|
|---|
| 23 |
|
|---|
| 24 | PKGDIR=${OLD_PKGDIR}
|
|---|
| 25 |
|
|---|
| 26 | cd ${SRC}/${PKGDIR}
|
|---|
| 27 |
|
|---|
| 28 | apply_patch tetex-src-2.0.2-flex-1
|
|---|
| 29 | apply_patch tetex-src-2.0.2-remove_readlink-1
|
|---|
| 30 |
|
|---|
| 31 | max_log_init tetex ${TETEX_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
|---|
| 32 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
|---|
| 33 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
|---|
| 34 | CFLAGS="${TGT_CFLAGS}" \
|
|---|
| 35 | CXXFLAGS="${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 &&
|
|---|
| 41 | echo " o Configure OK" &&
|
|---|
| 42 |
|
|---|
| 43 | min_log_init ${BUILDLOGS} &&
|
|---|
| 44 | make world \
|
|---|
| 45 | >> ${LOGFILE} 2>&1 &&
|
|---|
| 46 | echo " o Build OK" || barf
|
|---|
| 47 |
|
|---|
| 48 | texconfig dvips paper a4
|
|---|
| 49 | texconfig font rw
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.