2008-08-15 16:14:55 +02:00
|
|
|
{stdenv, fetchurl, enableStatic ? true}:
|
2006-12-24 00:16:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-08-15 16:14:55 +02:00
|
|
|
name = "device-mapper-1.02.27";
|
|
|
|
|
2006-12-24 00:16:04 +01:00
|
|
|
src = fetchurl {
|
2008-08-15 16:14:55 +02:00
|
|
|
url = ftp://sources.redhat.com/pub/dm/device-mapper.1.02.27.tgz;
|
|
|
|
sha256 = "1z4dldjjxfinwvg39x4m2cm5rcsbxs833g3phm34f5a2lwh7i6v6";
|
2006-12-24 00:16:04 +01:00
|
|
|
};
|
2008-08-15 16:14:55 +02:00
|
|
|
|
|
|
|
inherit enableStatic;
|
|
|
|
|
|
|
|
configureFlags = if enableStatic then "--enable-static_link" else "";
|
|
|
|
|
2006-12-24 00:16:04 +01:00
|
|
|
# To prevent make install from failing.
|
|
|
|
installFlags = "OWNER= GROUP=";
|
|
|
|
}
|