forked from mirrors/nixpkgs
Made mdadm cross build.
svn path=/nixpkgs/trunk/; revision=20380
This commit is contained in:
parent
f2830f5636
commit
27b8b6cc66
|
@ -7,11 +7,14 @@ stdenv.mkDerivation {
|
||||||
md5 = "15019078eacc8c21eac7b0b7faf86129";
|
md5 = "15019078eacc8c21eac7b0b7faf86129";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [groff];
|
buildNativeInputs = [groff];
|
||||||
|
|
||||||
preBuild = "
|
preBuild = ''
|
||||||
makeFlags=\"INSTALL=install BINDIR=$out/sbin MANDIR=$out/share/man\"
|
makeFlags="INSTALL=install BINDIR=$out/sbin MANDIR=$out/share/man"
|
||||||
";
|
if [ -n "$crossConfig" ]; then
|
||||||
|
makeFlags="$makeFlags CROSS_COMPILE=$crossConfig-"
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Programs for managing RAID arrays under Linux";
|
description = "Programs for managing RAID arrays under Linux";
|
||||||
|
|
Loading…
Reference in a new issue