diff options
Diffstat (limited to 'app-i18n/xsim/xsim-0.3.9.4-r2.ebuild')
-rw-r--r-- | app-i18n/xsim/xsim-0.3.9.4-r2.ebuild | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild b/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild deleted file mode 100644 index fcfcbf4ed9da..000000000000 --- a/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/xsim/xsim-0.3.9.4-r2.ebuild,v 1.13 2009/09/23 15:42:40 patrick Exp $ - -EAPI="1" -inherit kde-functions eutils - -DESCRIPTION="A simple and fast GB and BIG5 Chinese XIM server" -HOMEPAGE="http://developer.berlios.de/projects/xsim/" -SRC_URI="mirror://berlios/xsim/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="x86" -IUSE="kde" - -DEPEND=">=sys-libs/db-3 - >=sys-apps/sed-4 - kde? ( kde-base/kdelibs:3.5 )" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${P}-compile-fix.patch - - einfo "Patching ./configure to respect CFLAGS .." - sed -i -e "s/\(CFLAGS.*\)-O2/\1${CFLAGS}/" configure -} - -src_compile() { - local myconf - - if use kde; then - set-qtdir 3 - set-kdedir 3 - myconf="${myconf} - --with-kde3=${KDEDIR} \ - --with-qt3=${QTDIR} \ - --enable-status-kde3" - fi - - econf ${myconf} || die "configure failed" - emake xsim_etcp=/etc || die "make failed" -} - -src_install() { - einstall xsim_datp=${D}/usr/lib/xsim/dat \ - xsim_libp=${D}/usr/lib/xsim/plugins \ - xsim_binp=${D}/usr/bin \ - xsim_etcp=${D}/etc \ - install-data install || die "install failed" - - sed -i -e "s#DICT_LOCAL\(.*\)/usr/dat#DICT_LOCAL\1/usr/lib/xsim/dat#" \ - -e "s#PLUGIN_LOCAL\(.*\)/usr/plugins#PLUGIN_LOCAL\1/usr/lib/xsim/plugins#" \ - ${D}/etc/xsimrc - - dodoc ChangeLog COPYING INSTALL README* TODO -} - -pkg_postinst() { - elog "XSIM needs write access to /usr/lib/xsim/dat/chardb, so if you" - elog "not running it as root, you need to do the following:" - elog - elog " cp -r /usr/lib/xsim/dat \${HOME}/.xsim" - elog " sed -i \"s#DICT_LOCAL.*#DICT_LOCAL \${HOME}/.xsim#\" > \${HOME}/.xsim/xsimrc" - echo -} |