summaryrefslogtreecommitdiff
blob: 9ef53a88d3ec7bd4911befab9d82298d93810368 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/qtwvdialer/qtwvdialer-0.4.2.ebuild,v 1.5 2005/10/04 20:04:33 mrness Exp $

inherit kde-functions eutils

need-qt 3

S=${WORKDIR}/QtWvDialer-${PV}
DESCRIPTION="QT Frontend for wvdial"
SRC_URI="http://www.mtoussaint.de/${P}.tgz"
HOMEPAGE="http://www.mtoussaint.de/qtwvdialer.html"

DEPEND=">=dev-util/tmake-1.6
	sys-apps/which
	virtual/modutils
	>=sys-apps/sed-4"

RDEPEND="net-dialup/wvdial"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~ppc x86"
IUSE=""

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/g++configure.patch
}

src_compile() {
	econf && \
		sed -i -e "s:^CXXFLAGS *=:CXXFLAGS = ${CFLAGS}:" src/Makefile && \
		emake || die "compile failed"
}

src_install () {
	dobin bin/qtwvdialer
	dodoc AUTHORS CHANGELOG README

}