Compare commits

...

3 Commits

Author SHA1 Message Date
Michael Raskin
3d93d100e0 lsof fix
svn path=/nixpkgs/branches/stdenv-updates/; revision=10799
2008-02-21 12:20:19 +00:00
Michael Raskin
cc6a3bd93c Fixed typo in setup.sh
svn path=/nixpkgs/branches/stdenv-updates/; revision=10797
2008-02-21 05:36:51 +00:00
Michael Raskin
f5c33a9af4 Added vnc2swf, does not build yet, will change python for it, just in case for now
svn path=/nixpkgs/branches/stdenv-updates/; revision=10796
2008-02-21 04:50:17 +00:00
3 changed files with 25 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "0azvl43niqkq94drx52p6dvp70r38f25fqw181ywmvqn80dbb3c9";
};
unpackPhase = "tar xvjf $src; cd lsof_*; tar xvf lsof_*.tar; sourceRoot=$( echo lsof_*); ";
unpackPhase = "tar xvjf $src; cd lsof_*; tar xvf lsof_*.tar; sourceRoot=$( echo lsof_*/); ";
preBuild = "sed -i Makefile -e 's/^CFGF=/& -DHASIPv6=1/;';";
configurePhase = "./Configure -n linux;";
installPhase = " mkdir -p $out/bin $out/man/man8; cp lsof.8 $out/man/man8/; cp lsof $out/bin";

View File

@@ -615,7 +615,7 @@ buildPhase() {
eval "$preBuild"
if test -z "$makeFlags" ! test -n "$makefile" -o -e "Makefile" -o -e "makefile" -o -e "GNUmakefile"; then
if test -z "$makeFlags" && ! test -n "$makefile" -o -e "Makefile" -o -e "makefile" -o -e "GNUmakefile"; then
echo "no Makefile, doing nothing"
return
fi

View File

@@ -0,0 +1,23 @@
args : with args; with builderDefs {src="";} null;
let localDefs = builderDefs (rec {
src = /* put a fetchurl here */
fetchurl {
url = http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.9.3.tar.gz;
sha256 = "1n6pg6b77lv3g184fb8wpfv9i3nc6hyhrzd515jlki1mnmbgalbi";
};
buildInputs = [python];
configureFlags = [];
}) null; /* null is a terminator for sumArgs */
in with localDefs;
stdenv.mkDerivation rec {
name = "vnc2swf-"+version;
builder = writeScript (name + "-builder")
(textClosure localDefs
[doMakeInstall doForceShare doPropagate]);
meta = {
description = "
Program to record an animation from VNC session.
";
};
}