2009-10-08 15:07:56 +02:00
|
|
|
{ stdenv, fetchurl, libtool, gettext, libuuid }:
|
|
|
|
|
2009-12-08 17:58:22 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2012-06-10 16:41:22 +02:00
|
|
|
name = "xfsprogs-3.1.8";
|
2009-10-08 15:07:56 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-09-14 10:40:05 +02:00
|
|
|
urls = [ "ftp://oss.sgi.com/projects/xfs/cmd_tars/${name}.tar.gz" "ftp://oss.sgi.com/projects/xfs/previous/${name}.tar.gz" ];
|
2012-06-10 16:41:22 +02:00
|
|
|
sha256 = "1aryr6w76hyc1dznfzk0sc5rlr914rr0zh15vyclj1s86wp9wh3l";
|
2009-10-08 15:07:56 +02:00
|
|
|
};
|
|
|
|
|
2012-06-10 16:41:22 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i s,/bin/bash,`type -P bash`, install-sh
|
|
|
|
'';
|
|
|
|
|
2009-12-08 17:58:22 +01:00
|
|
|
buildInputs = [ libtool gettext libuuid ];
|
2009-10-08 15:07:56 +02:00
|
|
|
|
2009-12-08 17:58:22 +01:00
|
|
|
configureFlags = "MAKE=make MSGFMT=msgfmt MSGMERGE=msgmerge XGETTEXT=xgettext ZIP=gzip AWK=gawk --disable-shared";
|
2010-09-09 19:47:37 +02:00
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="$configureFlags root_sbindir=$out/sbin root_libdir=$out/lib"
|
|
|
|
'';
|
|
|
|
disableStatic = false;
|
2009-10-08 15:07:56 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "SGI XFS utilities";
|
|
|
|
};
|
|
|
|
}
|