ajout d'options de compilation par make

master
Jean-Pierre PRUNARET 8 years ago
parent ec23847499
commit b743a83164

@ -9,9 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "1izkzy952rjzlk3d9ndp3bklxc45gkwvpw0376x39flq1km0kyak";
};
# OUT shouldn't be needed (and shouldn't have worked), but random
# developers have forgotten to use PREFIX everywhere,
makeFlags = ''
OUT=$(out)
'';
buildInputs = [ gcc ];
buildPhase = "make build";
installPhase = "make install OUT=\$out";
installPhase = "make install";
meta = with stdenv.lib; {
description = "Program thas exit with 0 or 1 randomly";

Loading…
Cancel
Save