blob: d957fd4ef2ea9dd3369c1e0e6bb202d4c6c4a679 (
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/gqview/gqview-1.5.3.ebuild,v 1.7 2005/04/09 07:37:33 corsair Exp $
DESCRIPTION="A GTK-based image browser"
HOMEPAGE="http://gqview.sourceforge.net/"
SRC_URI="mirror://sourceforge/gqview/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc sparc amd64 ppc64 ~alpha ~ia64"
IUSE="nls xinerama"
DEPEND="media-libs/libpng
>=x11-libs/gtk+-2.2.0"
RDEPEND="nls? ( sys-devel/gettext )"
src_compile() {
econf \
--disable-dependency-tracking \
$(use_enable xinerama) \
$(use_enable nls) || die
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
# Don't remove duplicate README, the program looks for it. (bug 30111)
# rm -rf ${D}/usr/share/gqview
dodoc AUTHORS ChangeLog README TODO || die "dodoc failed"
}
|