blob: 812ffa3683ec6a0022e0ccd224fb7f7d0f0c490b (
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
49
50
51
52
53
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/wvdial/wvdial-1.53-r1.ebuild,v 1.14 2005/01/04 20:31:22 sekretarz Exp $
inherit eutils
DESCRIPTION="Excellent program which automatically configures your PPP session"
SRC_URI="http://open.nit.ca/download/${P}.tar.gz"
HOMEPAGE="http://open.nit.ca/"
DEPEND="virtual/libc
>=sys-apps/sed-4
net-libs/wvstreams"
RDEPEND="${DEPEND}
net-dialup/ppp"
SLOT="0"
LICENSE="LGPL-2"
KEYWORDS="x86 sparc amd64 hppa alpha"
IUSE=""
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-crypt.patch
}
src_compile() {
sed -i "s:PREFIX=/usr/local:PREFIX=/usr:" Makefile || \
die "sed Makefile failed"
}
src_install() {
sed -i "s:PPPDIR=/etc/ppp/peers:PPPDIR=${D}/etc/ppp/peers:" Makefile || \
die "sed Makefile failed"
make \
PREFIX=${D}/usr \
install || die "make install failed"
dodoc ANNOUNCE CHANGES COPYING.LIB README
dodoc debian/copyright debian/changelog
}
pkg_postinst() {
einfo
einfo "Use wvdialconf to automagically generate a configuration-file."
einfo
einfo "Users have to be member of the dialout AND the uucp group"
einfo "to use wvdial!"
einfo
}
|