summaryrefslogtreecommitdiff
blob: 0c56792f0c3fc26783ba00b142e22f4c6fba9c11 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/kisdndial/kisdndial-0.1.6.ebuild,v 1.1 2004/11/21 09:08:37 mrness Exp $

inherit kde

DESCRIPTION="KDE Kicker Applet to establish ISDN dial-up connections and to show the status"
HOMEPAGE="http://www.kisdndial.de/"
SRC_URI="http://www.kisdndial.de/dl_engine/files/${PN}3.2-${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

IUSE="unicode"
DEPEND="net-dialup/isdn4k-utils"

need-kde 3

src_unpack() {
	kde_src_unpack

	# if specified, convert all relevant files from latin1 to UTF-8
	if use unicode; then
		for i in AUTHORS README NEWS TODO ChangeLog; do
			iconv -f latin1 -t utf8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~"
		done
	fi
}

src_install() {
	kde_src_install make
	dodoc AUTHORS README NEWS TODO ChangeLog
}