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" ]; hardeningDisable = [ "format" ];
nativeBuildInputs = [ imake gccmakedep ];
buildInputs = [ buildInputs = [
libX11 xproto imake gccmakedep libXt libXmu libXaw libX11 xproto libXt libXmu libXaw
libXext xextproto libSM libICE libXpm libXp libXext xextproto libSM libICE libXpm libXp
]; ];
buildPhase = ''xmkmf && make World''; makeFlags = [
"BINDIR=${placeholder "out"}/bin"
installPhase = '' "MANDIR=${placeholder "out"}/share/man"
make DESTDIR=$out BINDIR=/bin MANDIR=/share/man/man1 install install.man ];
''; installTargets = "install install.man";
meta = { meta = {
description = "VNC recorder"; description = "VNC recorder";