hostapd: install man pages

This commit is contained in:
Robin Gloster 2018-05-22 11:01:01 +02:00
parent a32b6d5c9a
commit 04a2885dbf
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -62,6 +62,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libnl openssl sqlite ];
outputs = [ "out" "man" ];
extraConfig = ''
CONFIG_DRIVER_WIRED=y
CONFIG_LIBNL32=y
@ -103,6 +105,10 @@ stdenv.mkDerivation rec {
'';
preInstall = "mkdir -p $out/bin";
postInstall = ''
install -vD hostapd.8 -t $man/share/man/man8
install -vD hostapd_cli.1 -t $man/share/man/man1
'';
meta = {
homepage = http://hostap.epitest.fi;