mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
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 {
|
||||
name = "xautolock-2.2";
|
||||
@ -14,10 +15,13 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
NIX_CFLAGS_COMPILE = "-DSYSV";
|
||||
makeFlags="BINDIR=\${out}/bin MANPATH=\${out}/man";
|
||||
preBuild = "xmkmf";
|
||||
makeFlags = [
|
||||
"BINDIR=$(out)/bin"
|
||||
"MANPATH=$(out)/share/man"
|
||||
];
|
||||
installTargets = "install install.man";
|
||||
buildInputs = [xlibsWrapper imake libXScrnSaver scrnsaverproto];
|
||||
nativeBuildInputs = [ imake gccmakedep ];
|
||||
buildInputs = [ xlibsWrapper libXScrnSaver scrnsaverproto ];
|
||||
meta = with stdenv.lib; {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user