1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

svn path=/nixpkgs/trunk/; revision=8896

This commit is contained in:
Michael Raskin 2007-06-19 17:40:42 +00:00
parent 49c274d6a6
commit c1e37ee94d

View file

@ -1,15 +1,15 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "lsof";
name = "lsof-4.78";
src = fetchurl {
url = ftp://ftp.tux.org/pub/sites/vic.cc.purdue.edu/tools/unix/lsof/lsof_4.78.tar.bz2;
url =ftp://sunsite.ualberta.ca/pub/Mirror/lsof/lsof_4.78.tar.bz2;
sha256 = "0azvl43niqkq94drx52p6dvp70r38f25fqw181ywmvqn80dbb3c9";
};
unpackPhase = "tar xvjf $src; cd lsof_*; tar xvf lsof_*.tar; sourceRoot=lsof_*; ";
configurePhase = "./Configure -n linux;";
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";
}