2010-12-08 18:58:18 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libuuid }:
|
2009-08-11 22:57:29 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-06-28 17:32:59 +02:00
|
|
|
name = "e2fsprogs-1.42.4";
|
2009-09-25 22:53:21 +02:00
|
|
|
|
2009-08-11 22:57:29 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/e2fsprogs/${name}.tar.gz";
|
2012-06-28 17:32:59 +02:00
|
|
|
sha256 = "0plhvcjynyy5ifih5jr8p2fjymqyl8fj6vj74cmqjyrahi3z6iir";
|
2009-08-11 22:57:29 +02:00
|
|
|
};
|
|
|
|
|
2010-12-08 18:58:18 +01:00
|
|
|
buildInputs = [ pkgconfig libuuid ];
|
2009-08-11 22:57:29 +02:00
|
|
|
|
2010-03-04 15:44:31 +01:00
|
|
|
crossAttrs = {
|
|
|
|
preConfigure = ''
|
|
|
|
export CC=$crossConfig-gcc
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2009-08-11 22:57:29 +02:00
|
|
|
# libuuid, libblkid, uuidd and fsck are in util-linux-ng (the "libuuid" dependency).
|
|
|
|
configureFlags = "--enable-elf-shlibs --disable-libuuid --disable-libblkid --disable-uuidd --disable-fsck";
|
|
|
|
|
|
|
|
preInstall = "installFlagsArray=('LN=ln -s')";
|
|
|
|
|
|
|
|
postInstall = "make install-libs";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://e2fsprogs.sourceforge.net/;
|
|
|
|
description = "Tools for creating and checking ext2/ext3/ext4 filesystems";
|
|
|
|
};
|
|
|
|
}
|