3
0
Fork 0
forked from mirrors/nixpkgs

Made mdadm cross build.

svn path=/nixpkgs/trunk/; revision=20380
This commit is contained in:
Lluís Batlle i Rossell 2010-03-04 14:44:35 +00:00
parent f2830f5636
commit 27b8b6cc66

View file

@ -7,11 +7,14 @@ stdenv.mkDerivation {
md5 = "15019078eacc8c21eac7b0b7faf86129";
};
buildInputs = [groff];
buildNativeInputs = [groff];
preBuild = "
makeFlags=\"INSTALL=install BINDIR=$out/sbin MANDIR=$out/share/man\"
";
preBuild = ''
makeFlags="INSTALL=install BINDIR=$out/sbin MANDIR=$out/share/man"
if [ -n "$crossConfig" ]; then
makeFlags="$makeFlags CROSS_COMPILE=$crossConfig-"
fi
'';
meta = {
description = "Programs for managing RAID arrays under Linux";