2008-03-28 12:16:43 +01:00
|
|
|
args : with args;
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://downloads.sourceforge.net/jfsrec/jfsrec-svn-7.tar.gz;
|
|
|
|
sha256 = "163z6ljr05vw2k5mj4fim2nlg4khjyibrii95370pvn474mg28vg";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [boost];
|
|
|
|
configureFlags = [];
|
|
|
|
|
2009-05-20 01:25:58 +02:00
|
|
|
doFixInc = fullDepEntry (''
|
2009-05-07 09:00:31 +02:00
|
|
|
sed -e '/[#]include [<]config.h[>]/a\#include <string.h>' -i src/unicode_to_utf8.cpp
|
|
|
|
cat src/unicode_to_utf8.cpp
|
|
|
|
'') ["minInit" "doUnpack"];
|
|
|
|
|
2008-03-28 12:16:43 +01:00
|
|
|
/* doConfigure should be specified separately */
|
2009-09-29 06:30:28 +02:00
|
|
|
phaseNames = ["doFixInc" "doConfigure" "doMakeInstall"];
|
2008-03-28 12:16:43 +01:00
|
|
|
|
|
|
|
name = "jfsrec-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "JFS recovery tool";
|
|
|
|
};
|
|
|
|
}
|