ppp: Include convenience scripts

This commit is contained in:
Tim Steinbach 2016-03-24 19:25:42 +00:00
parent 147d12a0a4
commit a4d741ef9d

View File

@ -22,6 +22,16 @@ stdenv.mkDerivation rec {
buildInputs = [ libpcap ];
installPhase = ''
mkdir -p $out/bin
make install
install -D -m 755 scripts/{pon,poff,plog} $out/bin
'';
postFixup = ''
substituteInPlace $out/bin/{pon,poff,plog} --replace "/usr/sbin" "$out/bin"
'';
meta = {
homepage = https://ppp.samba.org/;
description = "Point-to-point implementation for Linux and Solaris";