mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
ppp: Include convenience scripts
This commit is contained in:
parent
147d12a0a4
commit
a4d741ef9d
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user