mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 00:07:39 +00:00
Added jfsrec - JFS recovery tool
svn path=/nixpkgs/trunk/; revision=11318
This commit is contained in:
parent
62478d6e0e
commit
58a111421e
22
pkgs/os-specific/linux/jfsrec/svn-7.nix
Normal file
22
pkgs/os-specific/linux/jfsrec/svn-7.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user