2007-06-28 13:53:12 +04:00
|
|
|
{stdenv, fetchurl, static ? false}:
|
2006-12-24 02:16:04 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-06-16 23:43:30 +04:00
|
|
|
name = "device-mapper-1.02.26";
|
2006-12-24 02:16:04 +03:00
|
|
|
src = fetchurl {
|
2008-06-16 23:43:30 +04:00
|
|
|
url = ftp://sources.redhat.com/pub/dm/device-mapper.1.02.26.tgz;
|
|
|
|
sha256 = "0x905frw06s6k5p1rlc2hbgaphgalinarbdg82664sri0qmbkrfv";
|
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=";
|
|
|
|
}
|