2010-12-08 18:58:18 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libuuid }:
|
2009-08-11 22:57:29 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-02-15 02:09:33 +01:00
|
|
|
name = "e2fsprogs-1.42";
|
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-02-15 02:09:33 +01:00
|
|
|
sha256 = "0ijabrxxmmna4y4wmy7d002nrzq1ifl98i71bl7fpqn3rsq6vd2m";
|
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";
|
|
|
|
};
|
|
|
|
}
|