1 { lib, stdenv, fetchurl, perl, ppp, iproute2 }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/pptpclient/${pname}-${version}.tar.gz";
9 sha256 = "1x2szfp96w7cag2rcvkdqbsl836ja5148zzfhaqp7kl7wjw2sjc2";
13 substituteInPlace Makefile --replace 'install -o root' 'install'
17 makeFlagsArray=( IP=${iproute2}/bin/ip PPPD=${ppp}/sbin/pppd \
18 BINDIR=$out/sbin MANDIR=$out/share/man/man8 \
22 buildInputs = [ perl ];
29 description = "PPTP client for Linux";
30 homepage = "http://pptpclient.sourceforge.net/";
31 license = licenses.gpl2;
32 platforms = platforms.linux;