blob: eb215b13c8b129b4304db01c4bfaaf656481f75b (
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-2000 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.41-r3.ebuild,v 1.5 2001/06/13 11:53:23 achim Exp $
P=wvdial-1.41
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Excellent program which automatically configures your PPP session"
SRC_URI="http://www.worldvisions.ca/wvdial/wvdial-1.41.tar.gz"
HOMEPAGE="http://www.worldvisions.ca/wvdial/"
DEPEND=">=sys-devel/gcc-2.95.2
virtual/glibc"
RDEPEND="$DEPEND net-dialup/ppp"
src_compile() {
try make
}
src_unpack() {
unpack ${A}
#doesn't seem to be needed anymore
patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
cd ${S}
cp rules.mk rules.mk.orig
sed -e "s/-g//g" -e "s/-O6/${CFLAGS}/" rules.mk.orig > rules.mk
cp Makefile Makefile.orig
sed -e "s:PREFIX=/usr/local:PREFIX=/usr:" Makefile.orig > Makefile
}
src_install() {
into /usr
dobin wvdial/wvdial wvdial/wvdialconf
doman *.1
insinto /etc/ppp/peers
newins ppp.provider wvdial
dodoc ANNOUNCE CHANGES COPYING.LIB README
dodoc debian/changelog debian/copyright
}
|