tex4ht: texLiveAggregationFun expects the texmf directory in $out, not $out/share

I also made some cosmetic changes to the expression.
This commit is contained in:
Peter Simons 2013-02-09 18:12:56 +01:00
parent 0f66b8cb20
commit 93ce537e10

View file

@ -4,9 +4,8 @@ stdenv.mkDerivation rec {
name = "tex4ht-1.0.2009_06_11_1038"; name = "tex4ht-1.0.2009_06_11_1038";
src = fetchurl { src = fetchurl {
url = "http://www.tug.org/applications/tex4ht/tex4ht.zip"; url = "http://tug.org/applications/tex4ht/tex4ht.zip";
# http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/${name}.tar.gz"; sha256 = "15gj18ihds6530af42clpa4zskak5kah9wzs2hd19a9ymwjsccd6";
sha1 = "2970cec5f4afc9039b82d6a4210f21d70ded2f5a";
}; };
buildInputs = [ tetex unzip ]; buildInputs = [ tetex unzip ];
@ -22,17 +21,15 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
for f in src/tex4ht src/t4ht src/htcmd bin/unix/*; do # */ for f in src/tex4ht src/t4ht src/htcmd "bin/unix/"*; do
mv $f $out/bin/. mv $f $out/bin/
done done
mv texmf $out/
mkdir -p $out/share
cp -r texmf $out/share/.
''; '';
meta = { meta = {
homepage = http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn.html; homepage = "http://tug.org/tex4ht/";
# LaTeX Project Public License description = "a system to convert (La)TeX documents to HTML and various other formats";
license = "LPPL"; license = "LPPL"; # LaTeX Project Public License
}; };
} }