# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-board/slibo/slibo-0.4.4.ebuild,v 1.11 2006/06/23 05:37:42 mr_bones_ Exp $ inherit eutils kde DESCRIPTION="A comfortable replacement for the xboard chess interface" HOMEPAGE="http://slibo.sourceforge.net/" SRC_URI="mirror://sourceforge/slibo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="=dev-db/sqlite-2*" need-kde 3 PATCHES="${FILESDIR}/${PV}-gcc34.patch ${FILESDIR}/${P}-gcc41.patch" src_install() { kde_src_install # whack empty doc files (bug #137114) rm -f "${D}"/usr/share/doc/${PF}/{README.gz,TODO.gz} } pkg_postinst() { einfo "If you updated from an older version, please do a" einfo " rm ~/.kde/share/apps/slibo/sliboui.rc" einfo "to get rid of old configuration files, otherwise" einfo "new menu items etc. will not appear" }