Annotation of /trunk/core/rp-pppoe/rp-pppoe-3.10-r1.smage2
Parent Directory | Revision Log
Revision 384 -
(hide annotations)
(download)
Wed Dec 24 00:18:05 2008 UTC (15 years, 9 months ago) by niro
File size: 1368 byte(s)
Wed Dec 24 00:18:05 2008 UTC (15 years, 9 months ago) by niro
File size: 1368 byte(s)
-fixed src_install()
1 | niro | 28 | # $Header: /magellan-cvs/smage/rp-pppoe/rp-pppoe-3.8-r5.smage2,v 1.2 2008/04/20 23:13:17 niro Exp $ |
2 | |||
3 | PNAME="rp-pppoe" | ||
4 | PVER="3.10" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="net-dialup" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="PPPoE (Point-to-Point Protocol over Ethernet) server and client for linux." | ||
11 | HOMEPAGE="http://www.roaringpenguin.com/products/pppoe" | ||
12 | |||
13 | DEPEND=">= sys-apps/net-tools-1.60 | ||
14 | >= net-dialup/ppp-2.4" | ||
15 | |||
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}/src" | ||
18 | |||
19 | RCVER=1.2 | ||
20 | |||
21 | sminclude mbuild mtools | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://www.roaringpenguin.com/files/download/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | mirror://${PNAME}/pppoe.rc-${RCVER} | ||
27 | mirror://${PNAME}/dsl-provider | ||
28 | ) | ||
29 | |||
30 | UP2DATE="updatecmd ${HOMEPAGE} | lasttarball gz" | ||
31 | |||
32 | src_install() | ||
33 | { | ||
34 | cd ${SRCDIR} | ||
35 | niro | 384 | mmake DESTDIR=${BINDIR} install || die |
36 | niro | 28 | |
37 | # compress docs | ||
38 | gzip -9 ${BINDIR}/usr/share/doc/${PNAME}-${PVER}/* || die | ||
39 | |||
40 | # initscripts (we may remove this and use ppp only!) | ||
41 | minstallrc pppoe.rc-${RCVER} pppoe || die | ||
42 | |||
43 | # ppp helpers | ||
44 | minstalldir /etc/ppp/peers || die | ||
45 | minstallfile -s dsl-provider /etc/ppp/peers/dsl-provider || die | ||
46 | } | ||
47 | |||
48 | postinstall() | ||
49 | { | ||
50 | echo | ||
51 | echo "To setup your ADSL internet-connection run 'pppoe-setup'," | ||
52 | echo "or use '/etc/ppp/peers/dsl-provider' via pppd. Do not forget" | ||
53 | echo "to symlink dsl-provider to /etc/ppp/peers/provider," | ||
54 | echo "or edit '/etc/conf.d/ppp to use 'dsl-provider'." | ||
55 | echo | ||
56 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |