1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

vncrec: use imake setup hook

This commit is contained in:
Matthew Bauer 2018-11-27 21:47:45 -06:00
parent 3f00c67ef9
commit 8e4b0ceeb2

View file

@ -12,16 +12,17 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
nativeBuildInputs = [ imake gccmakedep ];
buildInputs = [
libX11 xproto imake gccmakedep libXt libXmu libXaw
libX11 xproto libXt libXmu libXaw
libXext xextproto libSM libICE libXpm libXp
];
buildPhase = ''xmkmf && make World'';
installPhase = ''
make DESTDIR=$out BINDIR=/bin MANDIR=/share/man/man1 install install.man
'';
makeFlags = [
"BINDIR=${placeholder "out"}/bin"
"MANDIR=${placeholder "out"}/share/man"
];
installTargets = "install install.man";
meta = {
description = "VNC recorder";