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