mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
pkgs/tools/system/ipmitool: move --mandir and --infodir to standard locations
svn path=/nixpkgs/trunk/; revision=25014
This commit is contained in:
parent
d46e80976c
commit
9bd9e32aa8
|
@ -13,13 +13,23 @@ stdenv.mkDerivation {
|
|||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
dontDisableStatic = static;
|
||||
configureFlags = if static then "LDFLAGS=-static --enable-static --disable-shared" else "--enable-shared";
|
||||
|
||||
preConfigure = ''
|
||||
configureFlagsArray=(
|
||||
--infodir=$out/share/info
|
||||
--mandir=$out/share/man
|
||||
${if static then "LDFLAGS=-static --enable-static --disable-shared" else "--enable-shared"}
|
||||
)
|
||||
'';
|
||||
makeFlags = if static then "AM_LDFLAGS=-all-static" else "";
|
||||
dontDisableStatic = static;
|
||||
|
||||
meta = {
|
||||
description = ''Command-line interface to IPMI-enabled devices'';
|
||||
license = "BSD";
|
||||
homepage = "http://ipmitool.sourceforge.net";
|
||||
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue