# 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 }