summaryrefslogtreecommitdiff
blob: 5b19dcc44708b3334434c132aec366151e8e371c (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim-kdehelper/uim-kdehelper-0.1.0.ebuild,v 1.1 2004/11/03 08:35:03 usata Exp $

DESCRIPTION="Qt replacement of toolbar, system tray, applet and candidate window for UIM library."
HOMEPAGE="http://uim.freedesktop.org/Software/uim-kdehelper"
SRC_URI="http://freedesktop.org/~kzk/uim-kdehelper/${P}.tar.gz"

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

DEPEND="app-i18n/uim
	>=x11-libs/qt-3.2"

S="${WORKDIR}/${PN}"

src_compile() {
	addwrite /usr/qt/3/etc/settings

	econf || die "econf failed."
	emake || die "make failed."
}

src_install() {
	make DESTDIR=${D} install || die

	dodoc AUTHORS
}

pkg_postinst() {
	einfo
	einfo "If you want to use uim-candwin-qt instead of gtk one,"
	einfo "set UIM_CANDWIN_PROG to uim-candwin-qt."
	einfo "% export UIM_CANDWIN_PROG=\"uim-candwin-qt\" (bash)"
	einfo "> setenv UIM_CANDWIN_PROG \"uim-candwin-qt\" (csh)"
	einfo
}