nixpkgs/pkgs/misc/tex/tetex/builder.sh
Eelco Dolstra f0d8899756 * Remove texinfo/texi2html from tetex (not needed).
svn path=/nixpkgs/trunk/; revision=10991
2008-03-06 15:35:47 +00:00

29 lines
556 B
Bash

source $stdenv/setup
postUnpack=postUnpack
postUnpack() {
ensureDir $out/share/texmf
ensureDir $out/share/texmf-dist
gunzip < $texmf | (cd $out/share/texmf-dist && tar xvf -)
}
configureFlags="\
--disable-multiplatform \
--without-x11 \
--without-xdvik \
--without-oxdvik \
--without-texinfo \
--without-texi2html \
--with-system-zlib \
--with-system-pnglib \
--with-system-ncurses \
"
postInstall() {
ensureDir "$out/nix-support"
cp $setupHook $out/nix-support/setup-hook
}
postInstall=postInstall
genericBuild