2006-01-27 20:51:41 +00:00
|
|
|
source $stdenv/setup
|
|
|
|
|
2006-12-27 18:24:26 +00:00
|
|
|
buildPhase=true
|
2006-01-27 20:51:41 +00:00
|
|
|
|
2006-12-27 18:24:26 +00:00
|
|
|
installPhase=myInstallPhase
|
|
|
|
myInstallPhase() {
|
2006-01-27 20:51:41 +00:00
|
|
|
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"
|
2007-08-24 21:15:00 +01:00
|
|
|
ensureDir "$out/nix-support"
|
|
|
|
echo "$propagatedUserEnvPackages" > "$out/nix-support/propagated-user-env-packages"
|
2006-01-27 20:51:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
genericBuild
|