- Timestamp:
- Feb 21, 2006, 12:22:21 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- d3d48d51
- Parents:
- c2b8e07
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/untested/blfs-scripts/blfs-tex.sh
rc2b8e07 r8c8c5ab 19 19 mkdir -p /usr/share/texmf 20 20 cd /usr/share/texmf 21 unpack_tarball tetex-texmf-${TETEX_VER} 22 unpack_tarball tetex-texmfsrc-${TETEX_VER} 21 ( 22 umask 0 23 umask 24 unpack_tarball tetex-texmf-${TETEX_VER} 25 unpack_tarball tetex-texmfsrc-${TETEX_VER} 26 ) 23 27 28 umask 24 29 PKGDIR=${OLD_PKGDIR} 25 30 26 31 cd ${SRC}/${PKGDIR} 27 32 28 apply_patch tetex-src-2.0.2-flex-1 29 apply_patch tetex-src-2.0.2-remove_readlink-1 33 case ${TETEX_VER} in 34 2.0.2 ) 35 apply_patch tetex-src-2.0.2-flex-1 36 apply_patch tetex-src-2.0.2-remove_readlink-1 37 ;; 38 esac 30 39 40 # Additional config if t1lib, gd were built previously 41 if [ -f /usr/${libdirname}/libt1.a ]; then 42 extra_conf="${extra_conf} --with-system-t1lib" 43 fi 44 45 if [ -f /usr/${libdirname}/libgd.a ]; then 46 extra_conf="${extra_conf} --with-system-gd" 47 fi 48 49 # Added LDFLAGS to appease libtool w gdlib 31 50 max_log_init tetex ${TETEX_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 32 51 CC="${CC-gcc} ${ARCH_CFLAGS}" \ … … 34 53 CFLAGS="${TGT_CFLAGS}" \ 35 54 CXXFLAGS="${TGT_CFLAGS}" \ 55 LDFLAGS="-L/usr/${libdirname}" \ 36 56 ./configure --prefix=/usr \ 37 57 --with-system-ncurses --with-system-zlib \ … … 41 61 echo " o Configure OK" && 42 62 63 # TODO: check whether we should use make world or make all. 64 # 2.0.2 instructions were make world 43 65 min_log_init ${BUILDLOGS} && 44 make world\66 make all \ 45 67 >> ${LOGFILE} 2>&1 && 46 68 echo " o Build OK" || barf 47 69 70 min_log_init ${INSTLOGS} && 71 make install \ 72 >> ${LOGFILE} 2>&1 && 73 echo " o Install OK" || barf 74 48 75 texconfig dvips paper a4 49 76 texconfig font rw
Note:
See TracChangeset
for help on using the changeset viewer.