summaryrefslogtreecommitdiff
blob: 9cfbdeb69bb20ecc4917fe1d1fe02cafb1384685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2008 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.6 2008/11/30 14:43:02 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=""

DEPEND=">=dev-python/pygtk-2.6"

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
}