xbrightness: use imake setup hook
This commit is contained in:
parent
be10bee0e4
commit
39122285ba
1 changed files with 6 additions and 16 deletions
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, fetchurl, xorg }:
|
||||
{ stdenv, fetchurl, imake, gccmakedep
|
||||
, libX11, libXaw, libXext, libXmu, libXpm, libXxf86vm }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
|
@ -8,22 +9,11 @@ stdenv.mkDerivation {
|
|||
sha256 = "2564dbd393544657cdabe4cbf535d9cfb9abe8edddb1b8cdb1ed4d12f358626e";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
xorg.imake
|
||||
xorg.libX11
|
||||
xorg.libXaw
|
||||
xorg.libXext
|
||||
xorg.libXmu
|
||||
xorg.libXpm
|
||||
xorg.libXxf86vm
|
||||
];
|
||||
nativeBuildInputs = [ imake gccmakedep ];
|
||||
buildInputs = [ libX11 libXaw libXext libXmu libXpm libXxf86vm ];
|
||||
|
||||
configurePhase = "xmkmf";
|
||||
|
||||
installPhase = ''
|
||||
make install BINDIR=$out/bin
|
||||
make install.man MANPATH=$out/share/man
|
||||
'';
|
||||
makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ];
|
||||
installTargets = "install install.man";
|
||||
|
||||
meta = {
|
||||
description = "X11 brigthness and gamma software control";
|
||||
|
|
Loading…
Reference in a new issue