* ltrace: updated to 0.5.3.
* libdbi / libdbi-drivers: updated to 0.8.3, and make it compile with SQLite. * qemu-image: fix the URL. * gdmap: make it build again (requires an older GTK+). * rlwrap: updated to 0.37. * smbfs-fuse -> fusesmb to match the upstream name. * x11vnc: updated to 0.9.10. * clearlyU: fix the URL. * Various packages: follow the coding conventions. svn path=/nixpkgs/trunk/; revision=22814
This commit is contained in:
@@ -1,35 +1,22 @@
|
||||
args : with args; let
|
||||
patch = ./ltrace_0.5-3.diff.gz;
|
||||
localDefs = with builderDefs;
|
||||
builderDefs.passthru.function {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.5.orig.tar.gz;
|
||||
sha256 = "1nbjcnizc0w3p41g7hqf1qiany8qk4xs9g4zrlq4fpxdykdwla3v";
|
||||
};
|
||||
{ stdenv, fetchurl, elfutils }:
|
||||
|
||||
buildInputs = [elfutils ];
|
||||
configureFlags = [];
|
||||
goSrcDir = "
|
||||
cd ltrace-*;
|
||||
";
|
||||
preBuild = fullDepEntry (''
|
||||
gunzip < ${patch} | patch -Np1
|
||||
sed -e s@-Werror@@ -i Makefile.in
|
||||
'')["minInit" "doUnpack"];
|
||||
};
|
||||
in with localDefs;
|
||||
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")
|
||||
(textClosure localDefs [preBuild preConfigure doConfigure doMakeInstall doForceShare]);
|
||||
meta = {
|
||||
description = "Library call tracer";
|
||||
inherit src;
|
||||
};
|
||||
name = "ltrace-0.5.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.5.3.orig.tar.gz;
|
||||
sha256 = "0cmyw8zyw8b1gszrwizcm53cr0mig1iw3kv18v5952m9spb2frjw";
|
||||
};
|
||||
|
||||
buildInputs = [ elfutils ];
|
||||
|
||||
preBuild =
|
||||
''
|
||||
makeFlagsArray=(INSTALL="install -c")
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Library call tracer";
|
||||
homepage = http://www.ltrace.org/;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user