]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - packages/hackbard/tetex/tetex
fixed mesa build
[hdw-linux/hdw-linux.git] / packages / hackbard / tetex / tetex
1 # hdw - linux tetex package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 3.0
6 # [S] 3-5
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
11 srcdir="tetex-src-$ver"
12 confopt="$confopt --with-system-ncurses --with-system-zlib"
13 confopt="$confopt --exec-prefix=$prefix --without-texinfo"
14 # to avoid x dependency
15 # confopt="$confopt --with-x=no"
16
17 make_conf="all $make_conf"
18
19 pre_install()   {
20         install -v -d -m755 $prefix/share/texmf
21         gzip -dc $archdir/tetex-texmf-${ver}.tar.gz | \
22                 ( umask 0; tar -C $prefix/share/texmf -xf -)
23         gzip -dc $archdir/tetex-texmfsrc-${ver}.tar.gz | \
24                 ( umask 0; tar -C $prefix/share/texmf -xf -)
25                 }