Added ConTEXt; cyrillic seems to be fundamentally broken...

svn path=/nixpkgs/trunk/; revision=11735
This commit is contained in:
Michael Raskin 2008-04-28 00:25:42 +00:00
parent 55f4987f42
commit c9027b1cba
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,21 @@
args: with args;
rec {
name = "context-2008.01.28";
src = fetchurl {
url = http://ftp.de.debian.org/debian/pool/main/c/context/context_2008.01.28.orig.tar.gz;
sha256 = "0infkn73v3kwqgg6b7rqnr28i5z5dbdfapy6ppzlcnr19yj4nh9y";
};
buildInputs = [texLive];
phaseNames = ["doCopy"];
doCopy = FullDepEntry (''
ensureDir $out/share/texmf
cp -r * $out/share/texmf
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
meta = {
description = "ConTEXt TeX wrapper";
};
}

View file

@ -51,6 +51,8 @@ rec {
ln -s $out/share/texmf $out/share/texmf-config
sed -e 's/.*pyhyph.*/=&/' -i $out/share/texmf-config/tex/generic/config/language.dat
sed -e 's@^#!env ruby@#! ${ruby}/bin/ruby@' -i $out/libexec/*/*
sed -e 's@^#!env perl@#! ${perl}/bin/perl@' -i $out/libexec/*/*
PATH=$PATH:$out/bin mktexlsr $out/share/texmf*
@ -63,6 +65,7 @@ rec {
zlib bzip2 ncurses libpng flex bison libX11 libICE
xproto freetype t1lib gd libXaw icu ghostscript ed
libXt libXpm libXmu libXext xextproto perl libSM
ruby
];
configureFlags = [ "--with-x11" "--with-system-zlib"