xautolock: use imake setup hook
This commit is contained in:
parent
1eab4151d4
commit
92c119fb31
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl, xlibsWrapper, imake, libXScrnSaver, scrnsaverproto }:
|
{ stdenv, fetchurl, xlibsWrapper
|
||||||
|
, imake, gccmakedep, libXScrnSaver, scrnsaverproto }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xautolock-2.2";
|
name = "xautolock-2.2";
|
||||||
@ -14,10 +15,13 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
NIX_CFLAGS_COMPILE = "-DSYSV";
|
NIX_CFLAGS_COMPILE = "-DSYSV";
|
||||||
makeFlags="BINDIR=\${out}/bin MANPATH=\${out}/man";
|
makeFlags = [
|
||||||
preBuild = "xmkmf";
|
"BINDIR=$(out)/bin"
|
||||||
|
"MANPATH=$(out)/share/man"
|
||||||
|
];
|
||||||
installTargets = "install install.man";
|
installTargets = "install install.man";
|
||||||
buildInputs = [xlibsWrapper imake libXScrnSaver scrnsaverproto];
|
nativeBuildInputs = [ imake gccmakedep ];
|
||||||
|
buildInputs = [ xlibsWrapper libXScrnSaver scrnsaverproto ];
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A program that launches a given program when your X session has been idle for a given time.";
|
description = "A program that launches a given program when your X session has been idle for a given time.";
|
||||||
homepage = http://www.ibiblio.org/pub/linux/X11/screensavers;
|
homepage = http://www.ibiblio.org/pub/linux/X11/screensavers;
|
||||||
|
Loading…
Reference in New Issue
Block a user