Unverified Commit 3ab43f61 authored by Hans Christian Schmitz's avatar Hans Christian Schmitz
Browse files

fna3d: just use cmakeInstallPhase

This ensures we install all shared libraries without manual
intervention, as well as CMake and pkg-config files and headers.
parent ca1af460
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -26,14 +26,6 @@ stdenv.mkDerivation rec {
  buildInputs = if useSDL3 then [ sdl3 ] else [ SDL2 ];
  nativeBuildInputs = [ cmake ];

  installPhase = ''
    runHook preInstall
    install -Dm755 libFNA3D.so $out/lib/libFNA3D.so
    ln -s libFNA3D.so $out/lib/libFNA3D.so.0
    ln -s libFNA3D.so $out/lib/libFNA3D.so.0.${version}
    runHook postInstall
  '';

  meta = {
    description = "Accuracy-focused XNA4 reimplementation for open platforms";
    homepage = "https://fna-xna.github.io/";