nixpkgs/pkgs/misc/tex/polytable/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

22 lines
443 B
Bash

source $stdenv/setup
phases="installPhase"
dontMakeInstall="yes"
prefix="$out"
preInstall() {
ensureDir "$out/share/texmf-nix/tex/latex/polytable"
ensureDir "$out/share/texmf-nix/doc/latex/polytable"
latex polytable.ins
pdflatex polytable.dtx
pdflatex polytable.dtx
cp polytable.sty "$out/share/texmf-nix/tex/latex/polytable"
cp polytable.pdf "$out/share/texmf-nix/doc/latex/polytable"
}
preInstall=preInstall
genericBuild