larswm: use imake setup hook

This commit is contained in:
Matthew Bauer 2018-11-27 20:14:03 -06:00
parent 8a4da41849
commit cbf9b5610b

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, imake, libX11, libXext, libXmu}:
{ stdenv, fetchurl, imake, gccmakedep, libX11, libXext, libXmu }:
stdenv.mkDerivation {
name = "larswm-7.5.3";
@ -8,13 +8,11 @@ stdenv.mkDerivation {
sha256 = "1xmlx9g1nhklxjrg0wvsya01s4k5b9fphnpl9zdwp29mm484ni3v";
};
buildInputs = [ imake libX11 libXext libXmu ];
nativeBuildInputs = [ imake gccmakedep ];
buildInputs = [ libX11 libXext libXmu ];
configurePhase = ''
xmkmf
makeFlags="BINDIR=$out/bin MANPATH=$out/share/man"
installTargets="install install.man"
'';
makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];
installTargets = "install install.man";
meta = {
homepage = http://www.fnurt.net/larswm;