fna3d: just use cmakeInstallPhase

This ensures we install all shared libraries without manual
intervention, as well as CMake and pkg-config files and headers.
This commit is contained in:
Hans Christian Schmitz
2025-10-17 16:32:54 +02:00
parent ca1af46088
commit 3ab43f6135
-8
View File
@@ -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/";