blob: d8a4ca606594981eefa53b47e2d676e606e0fa8c (
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
43
44
45
46
47
48
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/pppoed/pppoed-0.49.ebuild,v 1.5 2006/03/12 21:23:35 mrness Exp $
inherit linux-info eutils
DESCRIPTION="User space implementation of PPP over Ethernet"
HOMEPAGE="http://www.furryterror.org/~afong/pppoe/"
SRC_URI="http://www.furryterror.org/~afong/pppoe/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="ppc x86"
IUSE=""
S="${WORKDIR}/${P}/pppoed"
pkg_setup() {
if kernel_is gt 2 4 ; then
einfo "This is a user space implementation of PPPoE!"
einfo
ewarn "For 2.4 and 2.6 kernels you don't need this!"
ewarn "The kernel already supports PPPoE, just enable it."
epause 5
fi
}
src_unpack() {
unpack ${A}
epatch "${FILESDIR}/${P}-gcc-3.3.patch"
}
src_compile() {
econf \
--sysconfdir=/etc/ppp/pppoed || die "econf failed"
make || die "make failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS README*
cd ..
docinto docs
dodoc docs/*
docinto contrib
dodoc contribs/*
}
|