summaryrefslogtreecommitdiff
blob: cd8e582c2939d4fb154f2eb46ea9937b5d1da9af (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
39
40
41
42
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/pptpd/pptpd-1.1.4_beta3.ebuild,v 1.2 2004/06/24 22:31:35 agriffis Exp $

S=${WORKDIR}/poptop-1.1.4
DESCRIPTION="Linux Point-to-Point Tunnelling Protocol Server"
SRC_URI="mirror://sourceforge/poptop/pptpd-1.1.4-b3.tar.gz"
HOMEPAGE="http://www.poptop.org/"

DEPEND="virtual/glibc
	net-dialup/ppp"
RDEPEND="$DEPEND"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""

src_compile() {
	econf --with-bcrelay || die
	emake || die
}

src_install () {
	einstall || die

	insinto /etc
	doins ${FILESDIR}/1.1.4_beta3/pptpd.conf

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

	exeinto /etc/init.d
	newexe ${FILESDIR}/pptpd-init pptpd

	insinto /etc/conf.d
	newins ${FILESDIR}/pptpd-confd pptpd

	dodoc README* AUTHORS COPYING INSTALL TODO ChangeLog
	docinto samples
	dodoc samples/*
}