nixpkgs/pkgs/misc/tex/tetex/builder.sh
Andres Löh 719217d77a * modified tetex to support extra .sty's from other packages
* added lazylist and polytable (both tetex packages)
* added lhs2tex ebuild, depending on the two above

svn path=/nixpkgs/trunk/; revision=4609
2006-01-27 20:51:41 +00:00

27 lines
510 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 \
--with-system-zlib \
--with-system-pnglib \
--with-system-ncurses \
"
postInstall() {
ensureDir "$out/nix-support"
cp $setupHook $out/nix-support/setup-hook
}
postInstall=postInstall
genericBuild