blob: 2dfdc1e472e93c25482815ec6fe3ff2381944f7e (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/wvdial/wvdial-1.61.ebuild,v 1.2 2010/05/28 05:58:16 pva Exp $
EAPI="3"
inherit eutils
DESCRIPTION="Excellent program to automatically configure PPP sessions"
HOMEPAGE="http://alumnit.ca/wiki/?WvDial"
SRC_URI="http://wvstreams.googlecode.com/files/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc sparc x86"
IUSE=""
COMMON_DEPEND=">=net-libs/wvstreams-4.4"
DEPEND="${COMMON_DEPEND}
dev-util/pkgconfig"
RDEPEND="${COMMON_DEPEND}
net-dialup/ppp"
src_prepare() {
epatch "${FILESDIR}/${P}-destdir.patch"
epatch "${FILESDIR}/${P}-as-needed.patch"
epatch "${FILESDIR}/${P}-parallel-make.patch"
}
src_configure() {
# Hand made configure...
./configure || die
}
src_install() {
emake "DESTDIR=${ED}" install || die "make install failed"
dodoc CHANGES FAQ MENUS README TODO || die
}
pkg_postinst() {
elog
elog "Use wvdialconf to automagically generate a configuration file."
elog
elog "Users have to be member of the dialout AND the uucp group"
elog "to use wvdial!"
elog
}
|