* Added teTeX 3.0. Sure, it may take up 267M of disk space, but it

contains everything you could possibly need, including beamer ;-)

  This teTeX has been built without X11 support, meaning that xdvi is
  not included.

svn path=/nixpkgs/trunk/; revision=2931
This commit is contained in:
Eelco Dolstra 2005-04-28 21:10:33 +00:00
parent b381db3399
commit d6a1bfe1dc
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,20 @@
. $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 \
"
genericBuild

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, flex, bison, zlib, libpng, ncurses, ed}:
stdenv.mkDerivation {
name = "tetex-3.0";
builder = ./builder.sh;
src = fetchurl {
url = ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-3.0.tar.gz;
md5 = "944a4641e79e61043fdaf8f38ecbb4b3";
};
texmf = fetchurl {
url = ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmf-3.0.tar.gz;
md5 = "11aa15c8d3e28ee7815e0d5fcdf43fd4";
};
buildInputs = [flex bison zlib libpng ncurses ed];
}

View File

@ -1289,6 +1289,10 @@ rec {
};
*/
tetex = (import ../misc/tex/tetex) {
inherit fetchurl stdenv flex bison zlib libpng ncurses ed;
};
nix = (import ../misc/nix) {
inherit fetchurl stdenv aterm perl;
curl = bootCurl; /* !!! ugly */