* net-tools: install the manpages in $out/share/man/manN instead of

$out/share/manN.  Cleaned up the expression at the same time.

svn path=/nixpkgs/trunk/; revision=17509
This commit is contained in:
Eelco Dolstra
2009-09-29 15:33:03 +00:00
parent 00127bef3f
commit 176c0e32b1
3 changed files with 18 additions and 135 deletions
+18 -4
View File
@@ -1,12 +1,26 @@
{stdenv, fetchurl}:
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "net-tools-1.60";
builder = ./builder.sh;
src = fetchurl {
url = http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-1.60.tar.bz2;
md5 = "888774accab40217dde927e21979c165";
};
config = ./config.h;
patch = ./net-tools-labels.patch;
patches = [ ./net-tools-labels.patch ];
preBuild =
''
cp ${./config.h} config.h
'';
makeFlags = "BASEDIR=$(out) mandir=/share/man";
meta = {
homepage = http://www.tazenda.demon.co.uk/phil/net-tools/;
description = "A set of tools for controlling the network subsystem in Linux";
license = "GPLv2+";
platforms = [ stdenv.lib.platforms.linux ];
};
}