summaryrefslogtreecommitdiff
blob: 6fb7cdf19d2fe53b795926ae59be7a1f64891741 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/danpei/danpei-2.9.7.ebuild,v 1.2 2005/10/03 11:55:18 ticho Exp $

DESCRIPTION="GTK1-based Image and Thumbnail viewer, explorer style."
HOMEPAGE="http://danpei.sourceforge.net/"
SRC_URI="mirror://sourceforge/danpei/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE="nls"

DEPEND="=x11-libs/gtk+-1.2*
	>=media-libs/libpng-1.0.3
	>=media-libs/gdk-pixbuf-0.8.0
	>=media-gfx/imagemagick-4.2.2"

src_compile() {
	econf `use_enable nls` || die
	emake || die
}

src_install () {
	make DESTDIR=${D} install
	insinto /usr/share/pixmaps
	doins src/icon/danpei.xpm
	insinto /usr/share/applications
	doins ${FILESDIR}/danpei.desktop

	dodoc AUTHORS ChangeLog* FAQ INSTALL* NEWS README* TODO*
}