pkgs/tools/networking/nbd: install the README file to $out/share/doc

The README contains documentation that is useful in addition to the man
pages.

svn path=/nixpkgs/trunk/; revision=22875
This commit is contained in:
Peter Simons 2010-08-02 13:37:36 +00:00
parent c8d53236b1
commit 9ef0f1b935

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
# machines that have a different setup than the local one. # machines that have a different setup than the local one.
configureFlags = "LDFLAGS=-static"; configureFlags = "LDFLAGS=-static";
postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"'';
meta = { meta = {
homepage = "http://nbd.sourceforge.net"; homepage = "http://nbd.sourceforge.net";
description = "map arbitrary files as block devices over the network"; description = "map arbitrary files as block devices over the network";