summaryrefslogtreecommitdiff
blob: 47aaaa5457eab93bdc3541d3ee44235ddd5d0bf1 (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
34
35
36
37
38
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Mike Jones <ashmodai@gentoo.org>

S=${WORKDIR}/pptpd-1.1.2
DESCRIPTION="Linux Point-to-Point Tunnelling Protocol Server"
SRC_URI="http://www.mirrors.wiretapped.net/security/network-security/poptop/pptpd-1.1.2.tar.gz"
HOMEPAGE="http://poptop.lineo.com"
DEPEND="virtual/glibc
        virtual/pppd" 

LICENSE="GPL"
RDEPEND=""
SLOT="0"

src_compile() {
		econf || die	
		emake || die
}

src_install () {
	
	make 					\
		DESTDIR=${D}			\
		man_prefix=/usr/share/man	\
		install || die

    insinto /etc
	doins ${FILESDIR}/pptpd.conf
	insinto /etc/ppp
	dodir /etc/ppp
	insinto /etc/ppp
	doins ${FILESDIR}/options.pptpd

	dodoc README README.inetd README.slirp AUTHORS COPYING INSTALL TODO ChangeLog
	docinto samples; dodoc samples/*
}