summaryrefslogtreecommitdiff
blob: e6b88f68c0bd31244097536a5fd427de16ed59c0 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppoed/pppoed-0.48_beta1-r1.ebuild,v 1.16 2004/07/14 23:05:27 agriffis Exp $

inherit eutils

S=${WORKDIR}/pppoed-0.48b1/pppoed
DESCRIPTION="PPP over Ethernet"
SRC_URI="http://www.davin.ottawa.on.ca/pppoe/pppoed-0.48b1.tgz"
HOMEPAGE="http://www.davin.ottawa.on.ca/pppoe/"

DEPEND="virtual/libc"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc"
IUSE=""

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${P}-gcc-3.3.patch
}

src_compile() {
	econf \
		--sysconfdir=/etc/ppp/pppoed || die
	make || die
}

src_install() {

	make DESTDIR=${D} install || die

	dodoc AUTHORS ChangeLog COPYING NEWS README*

	cd ..
	docinto docs
	dodoc docs/*
	docinto contrib
	dodoc contribs/*
}