2009-10-08 13:07:56 +00:00
|
|
|
{ stdenv, fetchurl, libtool, gettext, libuuid }:
|
|
|
|
|
2009-12-08 16:58:22 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-09-09 17:47:37 +00:00
|
|
|
name = "xfsprogs-3.1.3";
|
2009-10-08 13:07:56 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-09-14 08:40:05 +00:00
|
|
|
urls = [ "ftp://oss.sgi.com/projects/xfs/cmd_tars/${name}.tar.gz" "ftp://oss.sgi.com/projects/xfs/previous/${name}.tar.gz" ];
|
2010-09-09 17:47:37 +00:00
|
|
|
sha256 = "1mazg6sl4gbm204ndgw585xvcsxg3hg22d989ww6lgmycp635l7s";
|
2009-10-08 13:07:56 +00:00
|
|
|
};
|
|
|
|
|
2009-12-08 16:58:22 +00:00
|
|
|
buildInputs = [ libtool gettext libuuid ];
|
2009-10-08 13:07:56 +00:00
|
|
|
|
2009-12-08 16:58:22 +00:00
|
|
|
configureFlags = "MAKE=make MSGFMT=msgfmt MSGMERGE=msgmerge XGETTEXT=xgettext ZIP=gzip AWK=gawk --disable-shared";
|
2010-09-09 17:47:37 +00:00
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="$configureFlags root_sbindir=$out/sbin root_libdir=$out/lib"
|
|
|
|
'';
|
|
|
|
disableStatic = false;
|
2009-10-08 13:07:56 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SGI XFS utilities";
|
|
|
|
};
|
|
|
|
}
|