diff options
author | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2005-12-03 07:36:39 +0000 |
---|---|---|
committer | Nguyen Thai Ngoc Duy <pclouds@gentoo.org> | 2005-12-03 07:36:39 +0000 |
commit | e9efd605ba4cf49d94c8d842c790156447d6b9ed (patch) | |
tree | 8e6281b3266ba84d8f1f85cc3886220aee3da827 /app-i18n/xvnkb/xvnkb-0.2.9.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-e9efd605ba4cf49d94c8d842c790156447d6b9ed.tar.gz gentoo-2-e9efd605ba4cf49d94c8d842c790156447d6b9ed.tar.bz2 gentoo-2-e9efd605ba4cf49d94c8d842c790156447d6b9ed.zip |
Version bump
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'app-i18n/xvnkb/xvnkb-0.2.9.ebuild')
-rw-r--r-- | app-i18n/xvnkb/xvnkb-0.2.9.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-i18n/xvnkb/xvnkb-0.2.9.ebuild b/app-i18n/xvnkb/xvnkb-0.2.9.ebuild new file mode 100644 index 000000000000..83eb14df61c6 --- /dev/null +++ b/app-i18n/xvnkb/xvnkb-0.2.9.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/xvnkb/xvnkb-0.2.9.ebuild,v 1.1 2005/12/03 07:36:39 pclouds Exp $ + +inherit eutils + +IUSE="truetype spell" + +DESCRIPTION="Vietnamese input keyboard for X" +SRC_URI="http://xvnkb.sourceforge.net/${P}.tar.bz2" +HOMEPAGE="http://xvnkb.sourceforge.net/" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc" +DEPEND="virtual/x11 + truetype? ( virtual/xft )" + +src_compile() { + local myconf + + use spell || myconf="${myconf} --no-spellcheck" + use truetype || myconf="${myconf} --no-xft" + + econf --use-extstroke ${myconf} || die + + emake || die +} + +src_install() { + dobin xvnkb + dobin tools/xvnkb_ctrl + + dolib xvnkb.so.${PV} + dosym /usr/lib/xvnkb.so.${PV} /usr/lib/xvnkb.so + + dodoc LICENSE ChangeLog AUTHORS THANKS TODO INSTALL* README* doc/* + docinto scripts + dodoc scripts/* + docinto contrib + dodoc contrib/* +} + +pkg_postinst() { + einfo "Remember to" + einfo "$ export LANG=en_US.UTF-8" + einfo "(or any other UTF-8 locale) and" + einfo "$ export LD_PRELOAD=${DESTTREE}/lib/xvnkb.so" + einfo "before starting X Window" + einfo "More documents are in /usr/share/doc/${PF}" + ewarn "Programs with suid/sgid will have LD_PRELOAD cleared" + ewarn "You have to unset suid/sgid to use with xvnkb" +} |