Added jfsrec - JFS recovery tool

svn path=/nixpkgs/trunk/; revision=11318
This commit is contained in:
Michael Raskin 2008-03-28 11:16:43 +00:00
parent 62478d6e0e
commit 58a111421e
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,22 @@
args : with args;
rec {
src = fetchurl {
url = http://downloads.sourceforge.net/jfsrec/jfsrec-svn-7.tar.gz;
sha256 = "163z6ljr05vw2k5mj4fim2nlg4khjyibrii95370pvn474mg28vg";
};
buildInputs = [boost];
configureFlags = [];
doFixBoost = FullDepEntry (''
sed -e 's/-lboost_[a-z_]*/&-mt/g' -i src/Makefile.in
'') ["minInit" "doUnpack"];
/* doConfigure should be specified separately */
phaseNames = ["doFixBoost" "doConfigure" "doMakeInstall"];
name = "jfsrec-" + version;
meta = {
description = "JFS recovery tool";
};
}

View file

@ -3960,6 +3960,11 @@ let pkgs = rec {
inherit fetchurl stdenv;
};
jfsrecFun = builderDefsPackage (selectVersion ../os-specific/linux/jfsrec "svn-7"){
inherit boost;
};
jfsrec = jfsrecFun null;
jfsUtilsFun = builderDefsPackage (selectVersion ../os-specific/linux/jfsutils "1.1.12") {
inherit e2fsprogs;
};