summaryrefslogtreecommitdiff
blob: 86af51f79f501561e4dd23f22158917fe2f26197 (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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.2.5.ebuild,v 1.2 2003/09/07 14:33:25 karltk Exp $

S=${WORKDIR}/${P}
DESCRIPTION="A fast, lightweight imageviewer using imlib2"
SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz"
HOMEPAGE="http://www.linuxbrit.co.uk/feh"
SLOT="0"
LICENSE="as-is"
KEYWORDS="~x86 ~ppc"
DEPEND=">=media-libs/giblib-1.2.2
	>=media-libs/imlib2-1.0.0
	<media-libs/freetype-2"
RDEPEND="$DEPEND"
IUSE=""

src_compile() {
	econf || die
	emake || die
}

src_install () {
	einstall \
		docsdir=${D}/usr/share/doc/${PF} || die

	doman feh.1
	# gzip the docs
	gzip ${D}/usr/share/doc/${PF}/*

	dodoc AUTHORS COPYING ChangeLog README TODO
}