2008-04-26 17:22:48 +02:00
|
|
|
args : with args;
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://ftp.de.debian.org/debian/pool/main/l/lmodern/lmodern_0.92.orig.tar.gz;
|
|
|
|
sha256 = "0ak3n7fsi2va94gsn0pfmyby2b4g7wz9h5a0prpbx24ax1xwinls";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [];
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["doCopy"];
|
|
|
|
|
2009-05-20 01:25:58 +02:00
|
|
|
doCopy = fullDepEntry(''
|
2008-04-26 17:22:48 +02:00
|
|
|
ensureDir $out/share/texmf/fonts/enc
|
|
|
|
ensureDir $out/share/texmf/fonts/map
|
|
|
|
ensureDir $out/share/texmf/fonts/type1/public/lm
|
|
|
|
ensureDir $out/share/texmf/dvips/lm
|
|
|
|
ensureDir $out/share/texmf/dvipdfm/config
|
|
|
|
|
|
|
|
cp -r ./* $out/share/texmf/
|
|
|
|
|
|
|
|
cp dvips/lm/*.enc $out/share/texmf/fonts/enc
|
|
|
|
cp dvips/lm/*.map $out/share/texmf/fonts/map
|
|
|
|
cp dvips/lm/*.map $out/share/texmf/dvipdfm/config
|
|
|
|
'') ["minInit" "defEnsureDir" "doUnpack"];
|
|
|
|
|
|
|
|
name = "lmodern-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Latin Modern font";
|
|
|
|
};
|
|
|
|
}
|