1 # hdw - linux tetex package
3 # author: hackbard@hackdaworld.dyndns.org
7 # [D] tetex-src-3.0.tar.gz ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/
8 # [D] tetex-texmf-3.0.tar.gz ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/
9 # [D] tetex-texmfsrc-3.0.tar.gz ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/3.0/distrib/
10 # [D] pdfcprot.dtx http://www.ctan.org/tex-archive/macros/latex2e/contrib/pdfcprot/
11 # [D] pdfcprot.ins http://www.ctan.org/tex-archive/macros/latex2e/contrib/pdfcprot/
13 srcdir="tetex-src-$ver"
14 confopt="$confopt --with-system-ncurses --with-system-zlib"
15 confopt="$confopt --exec-prefix=$prefix --without-texinfo"
16 # to avoid x dependency
17 # confopt="$confopt --with-x=no"
19 make_conf="all $make_conf"
22 install -v -d -m755 $prefix/share/texmf
23 gzip -dc $archdir/tetex-texmf-${ver}.tar.gz | \
24 ( umask 0; tar -C $prefix/share/texmf -xf -)
25 gzip -dc $archdir/tetex-texmfsrc-${ver}.tar.gz | \
26 ( umask 0; tar -C $prefix/share/texmf -xf -)
30 install -v -d -m755 $prefix/share/texmf/tex/latex/pdfcprot
31 mkdir pdfcprot && cd pdfcprot
32 cp $archdir/pdfcprot.*
34 cp * $prefix/share/texmf/tex/latex/pdfcprot/