2009-11-18 10:39:59 +01:00
|
|
|
{ stdenv, fetchurl, boost }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "jfsrec-pre-svn-7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2013-07-14 02:31:12 +02:00
|
|
|
url = mirror://sourceforge/jfsrec/jfsrec-svn-7.tar.gz;
|
2009-11-18 10:39:59 +01:00
|
|
|
sha256 = "163z6ljr05vw2k5mj4fim2nlg4khjyibrii95370pvn474mg28vg";
|
|
|
|
};
|
|
|
|
|
2010-01-16 15:59:04 +01:00
|
|
|
patches = [ ./jfsrec-gcc-4.3.patch ];
|
2009-11-18 10:39:59 +01: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";
|
|
|
|
};
|
|
|
|
}
|