# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/mirage/mirage-0.9.3.ebuild,v 1.7 2009/08/17 15:14:01 ssuominen Exp $ inherit distutils eutils DESCRIPTION="Fast and simple GTK+ image viewer" HOMEPAGE="http://mirageiv.berlios.de/" SRC_URI="mirror://berlios/mirageiv/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" IUSE="" RDEPEND=">=dev-python/pygtk-2.6" DEPEND="${RDEPEND} !media-plugins/banshee-mirage" src_unpack() { distutils_src_unpack epatch "${FILESDIR}"/${P}-stop_cleaning_up.patch } src_install() { local DOCS="CHANGELOG README TODO TRANSLATORS" distutils_src_install rm -f "${D}/usr/share/mirage/COPYING" # Do not install duplicate docs. for DOC in ${DOCS}; do rm -f "${D}/usr/share/mirage/${DOC}" done }