summaryrefslogtreecommitdiff
blob: 08f6338b6746f308d53c5f4e52f91019c786a007 (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
34
# Copyright 1999-2004 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.0.ebuild,v 1.7 2004/05/11 22:41:04 lv Exp $

S=${WORKDIR}/${P}
DESCRIPTION="A fast, lightweight imageviewer using imlib2"
SRC_URI="http://www.linuxbrit.co.uk/downloads/feh-${PV}.tar.gz"
HOMEPAGE="http://www.linuxbrit.co.uk/feh"

SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 ppc ~amd64"

DEPEND=">=media-libs/giblib-1.2.2
	>=media-libs/imlib2-1.0.0"
RDEPEND="$DEPEND"

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
}