blob: 1efd328e01d8398c51e2be3ed464bca889d92026 (
plain)
1 # Maintainer: Simone Rota, sip at crux dot nu
2 # Packager: Robert McMeekin, viper at mcmeekin dot info
3 # Description: TeX distribution for UNIX compatible systems
4 # URL: http://www.tug.org/tetex/
5 # Depends on: libpng, ncurses, t1lib, libgd
6
7 name=tetex
8 version=3.0
9 release=3
10 source=(ftp://dante.ctan.org/pub/tex/systems/unix/teTeX/current/distrib/$name-src-$version.tar.gz \
11 ftp://dante.ctan.org/pub/tex/systems/unix/teTeX/current/distrib/$name-texmf-$version.tar.gz \
12 ftp://dante.ctan.org/pub/tex/systems/unix/teTeX/current/distrib/$name-texmfsrc-$version.tar.gz \
13 $name.patch.gz)
14
15 build() {
16 mkdir -p $PKG/usr/share/texmf
17 cp -r `/bin/ls | grep -v $name-src-$version` $PKG/usr/share/texmf/
18 cd $name-src-$version
19 zcat $SRC/tetex.patch.gz| patch -p0
20 ./configure --prefix=/usr \
21 --datadir=/usr/share \
22 --disable-multiplatform \
23 --without-texinfo \
24 --without-texi2html \
25 --without-dialog \
26 --without-psutils \
27 --with-x \
28 --with-xdvi-x-toolkit=xaw \
29 --with-system-zlib \
30 --with-system-pnglib \
31 --with-system-ncurses \
32 --with-system-t1lib \
33 --with-system-gd
34 make
35
36 # temp fix, this tools tries to write in real root
37 sed -i 's/fmtutil-sys/fmtutil-sys-fix/g' Makefile
38 sed -i 's/updmap-sys/updmap-sys-fix/g' Makefile
39
40 make DESTDIR=$PKG prefix=$PKG/usr texmf=$PKG/usr/share/texmf install
41 rm -rf $PKG/usr/info $PKG/usr/share/texmf/doc
42 rm -f $PKG/usr/share/texmf/tetex.patch.gz
43 }
|