2009-11-18 09:39:59 +00:00
|
|
|
{ stdenv, fetchurl, boost }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "jfsrec-pre-svn-7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-14 01:31:12 +01:00
|
|
|
url = mirror://sourceforge/jfsrec/jfsrec-svn-7.tar.gz;
|
2009-11-18 09:39:59 +00:00
|
|
|
sha256 = "163z6ljr05vw2k5mj4fim2nlg4khjyibrii95370pvn474mg28vg";
|
|
|
|
};
|
|
|
|
|
2010-01-16 14:59:04 +00:00
|
|
|
patches = [ ./jfsrec-gcc-4.3.patch ];
|
2009-11-18 09:39:59 +00:00
|
|
|
buildInputs = [ boost ];
|
|
|
|
|
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
sed -e '/[#]include [<]config.h[>]/a\#include <string.h>' -i src/unicode_to_utf8.cpp
|
|
|
|
cat src/unicode_to_utf8.cpp
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "JFS recovery tool";
|
|
|
|
};
|
|
|
|
}
|