blob: 4b5998bb6a702423471e2d8888f2daea85c56763 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-dialup/wvdial/wvdial-1.53.ebuild,v 1.1 2002/04/27 13:32:34 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Excellent program which automatically configures your PPP session"
SRC_URI="http://open.nit.ca/download/${P}.tar.gz"
HOMEPAGE="http://http://open.nit.ca"
DEPEND="virtual/glibc
net-libs/wvstreams"
RDEPEND="$DEPEND net-dialup/ppp"
src_compile() {
cp Makefile Makefile.orig
sed -e "s:PREFIX=/usr/local:PREFIX=/usr:" \
Makefile.orig > Makefile
}
src_install() {
cp Makefile Makefile.orig
sed -e "s:PPPDIR=/etc/ppp/peers:PPPDIR=${D}/etc/ppp/peers:" \
Makefile.orig > Makefile
make \
PREFIX=${D}/usr \
install || die
dodoc ANNOUNCE CHANGES COPYING.LIB README
dodoc debian/copyright debian/changelog
}
|