eaglemode: add missing htmldoc runtime dependency
This commit is contained in:
committed by
Emery Hemingway
parent
43fae4b242
commit
ce8769f7da
@@ -79,16 +79,23 @@ stdenv.mkDerivation rec {
|
||||
"info"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
perl make.pl install dir=$out
|
||||
wrapProgram $out/bin/eaglemode --set EM_DIR "$out" --prefix LD_LIBRARY_PATH : "$out/lib" --prefix PATH : "${ghostscript}/bin"
|
||||
for i in 32 48 96; do
|
||||
mkdir -p $out/share/icons/hicolor/''${i}x''${i}/apps
|
||||
ln -s $out/res/icons/${pname}$i.png $out/share/icons/hicolor/''${i}x''${i}/apps/${pname}.png
|
||||
done
|
||||
runHook postInstall
|
||||
'';
|
||||
installPhase =
|
||||
let
|
||||
runtimeDeps = lib.makeBinPath [
|
||||
ghostscript # renders the manual
|
||||
htmldoc # renders HTML files in file browser
|
||||
];
|
||||
in
|
||||
''
|
||||
runHook preInstall
|
||||
perl make.pl install dir=$out
|
||||
wrapProgram $out/bin/eaglemode --set EM_DIR "$out" --prefix LD_LIBRARY_PATH : "$out/lib" --prefix PATH : "${runtimeDeps}"
|
||||
for i in 32 48 96; do
|
||||
mkdir -p $out/share/icons/hicolor/''${i}x''${i}/apps
|
||||
ln -s $out/res/icons/${pname}$i.png $out/share/icons/hicolor/''${i}x''${i}/apps/${pname}.png
|
||||
done
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
|
||||
Reference in New Issue
Block a user