2005-12-05 15:11:09 +01:00
|
|
|
source $stdenv/setup
|
2005-04-28 23:10:33 +02:00
|
|
|
|
|
|
|
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 \
|
2008-03-06 16:35:47 +01:00
|
|
|
--without-texinfo \
|
|
|
|
--without-texi2html \
|
2005-04-28 23:10:33 +02:00
|
|
|
--with-system-zlib \
|
|
|
|
--with-system-pnglib \
|
|
|
|
--with-system-ncurses \
|
|
|
|
"
|
|
|
|
|
2006-01-27 21:51:41 +01:00
|
|
|
postInstall() {
|
|
|
|
ensureDir "$out/nix-support"
|
|
|
|
cp $setupHook $out/nix-support/setup-hook
|
|
|
|
}
|
|
|
|
postInstall=postInstall
|
|
|
|
|
2005-04-28 23:10:33 +02:00
|
|
|
genericBuild
|