2007-06-28 13:53:12 +04:00
|
|
|
{stdenv, fetchurl, static ? false}:
|
2006-12-24 02:16:04 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2007-09-11 14:15:07 +04:00
|
|
|
name = "device-mapper-1.02.22";
|
2006-12-24 02:16:04 +03:00
|
|
|
src = fetchurl {
|
2007-09-11 14:15:07 +04:00
|
|
|
url = ftp://sources.redhat.com/pub/dm/device-mapper.1.02.22.tgz;
|
|
|
|
sha256 = "158mnspws143wrgrx4h81z3gn7vzb7b2ysgmngsqcri4srn3m0zz";
|
2006-12-24 02:16:04 +03:00
|
|
|
};
|
2007-06-28 13:53:12 +04:00
|
|
|
configureFlags = if static then "--enable-static_link" else "";
|
2006-12-24 02:16:04 +03:00
|
|
|
# To prevent make install from failing.
|
|
|
|
installFlags = "OWNER= GROUP=";
|
|
|
|
}
|