mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
bbf64219b4
svn path=/nixpkgs/trunk/; revision=16695
25 lines
798 B
Nix
25 lines
798 B
Nix
args : with args;
|
|
rec {
|
|
src = fetchurl {
|
|
url = [ ftp://oss.sgi.com/projects/xfs/previous/cmd_tars/xfsprogs_2.9.7-1.tar.gz http://ftp.lfs-matrix.org/pub/blfs/svn/x/xfsprogs_2.9.7-1.tar.gz ];
|
|
sha256 = "0g4pr1rv4lgc7vab18wiwrcr6jq40fs1krb2vfkgh779p7gf3il7";
|
|
};
|
|
|
|
buildInputs = [libtool gettext libuuid];
|
|
configureFlags = [];
|
|
|
|
preConfigure = fullDepEntry (''
|
|
sp_path=$(echo $PATH | sed -e 's/:/ /g');
|
|
sed -e 's@/usr/bin@'"$PATH: $sp_path"'@g' -i configure
|
|
sed -e 's@/usr/local/bin@'"$PATH: sp_path"'@g' -i configure
|
|
'') ["minInit" "doUnpack" "addInputs"];
|
|
|
|
/* doConfigure should be specified separately */
|
|
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
|
|
|
name = "xfsprogs-" + version;
|
|
meta = {
|
|
description = "SGI XFS utilities";
|
|
};
|
|
}
|
|
|