# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit gnome2
DESCRIPTION="GnoCHM is a CHM file viewer that integrates with the GNOME desktop"
HOMEPAGE="http://gnochm.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL"
SLOT="0"
IUSE="doc"
KEYWORDS="~x86"
RDEPEND=">=dev-python/pychm-0.8.4
=dev-python/pygtk-2*
=dev-python/gnome-python-2*
=dev-python/gnome-python-extras-2*"
DEPEND="${RDEPEND}
app-text/scrollkeeper
>=dev-util/intltool-0.21"
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
G2CONF="--enable-mime-update=no"
}
Salvati ca gnochm-0.9.9.ebuild
mkdir /usr/local/portage && mkdir /usr/local/portage/app-doc && mkdir /usr/local/portage/app-doc/gnochm
cp gnochm-0.9.9.ebuild /usr/local/portage/app-doc/gnochm
vi /etc/make.conf si adaugati:
PORTDIR_OVERLAY="/usr/local/portage"
Apoi:
emerge gnochm --digest