2007-11-03 09:19:00 +01:00
|
|
|
args : with args;
|
2008-01-23 19:11:03 +01:00
|
|
|
let localDefs = builderDefs {
|
2007-11-03 09:19:00 +01:00
|
|
|
src = /* put a fetchurl here */
|
|
|
|
fetchurl {
|
|
|
|
url = ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.5.orig.tar.gz;
|
|
|
|
sha256 = "1nbjcnizc0w3p41g7hqf1qiany8qk4xs9g4zrlq4fpxdykdwla3v";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [elfutils ];
|
|
|
|
configureFlags = [];
|
|
|
|
goSrcDir = "
|
|
|
|
cd ltrace-*;
|
|
|
|
";
|
|
|
|
} null; /* null is a terminator for sumArgs */
|
2008-01-23 19:11:03 +01:00
|
|
|
in with localDefs;
|
2007-11-03 09:19:00 +01:00
|
|
|
let
|
|
|
|
preConfigure = FullDepEntry ("
|
|
|
|
sed -e 's@-o root -g root@@' -i Makefile.in;
|
|
|
|
") [doUnpack minInit];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ltrace-0.5";
|
|
|
|
builder = writeScript (name + "-builder")
|
2008-01-23 19:11:03 +01:00
|
|
|
(textClosure localDefs [preConfigure doConfigure doMakeInstall doForceShare]);
|
2007-11-03 09:19:00 +01:00
|
|
|
meta = {
|
|
|
|
description = "
|
|
|
|
Library call tracer.
|
|
|
|
";
|
|
|
|
};
|
|
|
|
}
|