summaryrefslogtreecommitdiff
blob: 5f27b77dd23c51f1bc8be1f210c95189ee65b470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
S=${WORKDIR}/pptp-linux-${PV}-1
DESCRIPTION="Linux client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP. Allows connection to a PPTP based VPN 
as used by employers and some cable and ADSL service providers."

HOMEPAGE="http://pptpclient.sourceforge.net"
SRC_URI="mirror://sourceforge/pptpclient/pptp-linux-${PV}-1.tar.gz"

DEPEND="net-dialup/ppp"

RDEPEND="net-dialup/ppp"

src_compile() {
	cd ${S}
	tar zxf pptp-linux-${PV}.tar.gz
	cd ${S}/pptp-linux-${PV}

	make || die "make failed" 
}

src_install() {
	cd ${S}
	insinto /etc/ppp
	doins options.pptp
	dosbin pptp-command pptp_fe.pl xpptp_fe.pl	
	
	cd pptp-linux-${PV}
	dosbin pptp
	
	dodoc AUTHORS COPYING ChangeLog DEVELOPERS NEWS README TODO USING
	dodoc Documentation/*
	dodoc Reference/*
}