ppp: Include convenience scripts
This commit is contained in:
parent
147d12a0a4
commit
a4d741ef9d
|
@ -22,6 +22,16 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [ libpcap ];
|
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 = {
|
meta = {
|
||||||
homepage = https://ppp.samba.org/;
|
homepage = https://ppp.samba.org/;
|
||||||
description = "Point-to-point implementation for Linux and Solaris";
|
description = "Point-to-point implementation for Linux and Solaris";
|
||||||
|
|
Loading…
Reference in New Issue