2007-06-28 11:53:12 +02:00
|
|
|
{stdenv, fetchurl, static ? false}:
|
2006-12-24 00:16:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-06-16 21:43:30 +02:00
|
|
|
name = "device-mapper-1.02.26";
|
2006-12-24 00:16:04 +01:00
|
|
|
src = fetchurl {
|
2008-06-16 21:43:30 +02:00
|
|
|
url = ftp://sources.redhat.com/pub/dm/device-mapper.1.02.26.tgz;
|
|
|
|
sha256 = "0x905frw06s6k5p1rlc2hbgaphgalinarbdg82664sri0qmbkrfv";
|
2006-12-24 00:16:04 +01:00
|
|
|
};
|
2007-06-28 11:53:12 +02:00
|
|
|
configureFlags = if static then "--enable-static_link" else "";
|
2006-12-24 00:16:04 +01:00
|
|
|
# To prevent make install from failing.
|
|
|
|
installFlags = "OWNER= GROUP=";
|
|
|
|
}
|