2008-03-22 14:04:04 +01:00
|
|
|
args: with args;
|
|
|
|
rec {
|
2010-02-11 10:45:07 +01:00
|
|
|
name = "texlive-cm-super-2009";
|
2008-03-22 14:04:04 +01:00
|
|
|
src = fetchurl {
|
2010-02-11 10:45:07 +01:00
|
|
|
url = mirror://debian/pool/main/c/cm-super/cm-super_0.3.4.orig.tar.gz;
|
|
|
|
sha256 = "0zrq4sr9ank35svkz3cfd7f978i9c8xbzdqm2c8kvxia2753v082";
|
2008-03-22 14:04:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
phaseNames = ["doCopy"];
|
2009-05-20 01:25:58 +02:00
|
|
|
doCopy = fullDepEntry (''
|
2008-03-22 14:04:04 +01:00
|
|
|
ensureDir $out/share/texmf/fonts/enc
|
|
|
|
ensureDir $out/share/texmf/fonts/map
|
|
|
|
ensureDir $out/share/texmf/fonts/type1/public/cm-super
|
|
|
|
cp pfb/*.pfb $out/share/texmf/fonts/type1/public/cm-super
|
|
|
|
ensureDir $out/share/texmf/dvips/cm-super
|
|
|
|
cp dvips/*.{map,enc} $out/share/texmf/dvips/cm-super
|
|
|
|
cp dvips/*.enc $out/share/texmf/fonts/enc
|
|
|
|
cp dvips/*.map $out/share/texmf/fonts/map
|
|
|
|
ensureDir $out/share/texmf/dvipdfm/config
|
|
|
|
cp dvipdfm/*.map $out/share/texmf/dvipdfm/config
|
2010-02-11 10:45:07 +01:00
|
|
|
|
|
|
|
ln -s $out/share/texmf* $out/
|
2008-03-22 14:04:04 +01:00
|
|
|
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
|
|
|
|
buildInputs = [texLive];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Extra components for TeXLive: CM-Super fonts";
|
2010-02-11 10:45:07 +01:00
|
|
|
maintainers = [ args.lib.maintainers.raskin ];
|
|
|
|
|
|
|
|
# Actually, arch-independent..
|
|
|
|
platforms = [] ;
|
2008-03-22 14:04:04 +01:00
|
|
|
};
|
|
|
|
}
|