44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
# Maintainer: Johannes Winkelmann, jw at smts dot ch
|
|
# Packager: Robert McMeekin, viper at mcmeekin dot info
|
|
# Description: TeX distribution for UNIX compatible systems
|
|
# URL: http://www.tug.org/tetex/
|
|
# Depends on: libpng, ncurses, t1lib, libgd
|
|
|
|
name=tetex
|
|
version=3.0
|
|
release=3
|
|
source=(ftp://dante.ctan.org/pub/tex/systems/unix/teTeX/current/distrib/$name-src-$version.tar.gz \
|
|
ftp://dante.ctan.org/pub/tex/systems/unix/teTeX/current/distrib/$name-texmf-$version.tar.gz \
|
|
ftp://dante.ctan.org/pub/tex/systems/unix/teTeX/current/distrib/$name-texmfsrc-$version.tar.gz \
|
|
$name.patch.gz)
|
|
|
|
build() {
|
|
mkdir -p $PKG/usr/share/texmf
|
|
cp -r `/bin/ls | grep -v $name-src-$version` $PKG/usr/share/texmf/
|
|
cd $name-src-$version
|
|
zcat $SRC/tetex.patch.gz| patch -p0
|
|
./configure --prefix=/usr \
|
|
--datadir=/usr/share \
|
|
--disable-multiplatform \
|
|
--without-texinfo \
|
|
--without-texi2html \
|
|
--without-dialog \
|
|
--without-psutils \
|
|
--with-x \
|
|
--with-xdvi-x-toolkit=xaw \
|
|
--with-system-zlib \
|
|
--with-system-pnglib \
|
|
--with-system-ncurses \
|
|
--with-system-t1lib \
|
|
--with-system-gd
|
|
make
|
|
|
|
# temp fix, this tools tries to write in real root
|
|
sed -i 's/fmtutil-sys/fmtutil-sys-fix/g' Makefile
|
|
sed -i 's/updmap-sys/updmap-sys-fix/g' Makefile
|
|
|
|
make DESTDIR=$PKG prefix=$PKG/usr texmf=$PKG/usr/share/texmf install
|
|
rm -rf $PKG/usr/info $PKG/usr/share/texmf/doc
|
|
rm -f $PKG/usr/share/texmf/tetex.patch.gz
|
|
}
|