summaryrefslogtreecommitdiff
blob: 0b71660d1fe83553184e08d2e2dbe42e5c54decc (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.2.9.ebuild,v 1.3 2004/12/18 20:19:26 corsair Exp $

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

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

DEPEND=">=media-libs/giblib-1.2.4
	>=media-libs/imlib2-1.0.0
	>=media-libs/jpeg-6b-r4
	media-libs/libpng
	virtual/x11"

src_unpack() {
	unpack ${A}
	cd ${S}
	sed -i -e "/^docsdir =/s:doc/feh:share/doc/${PF}:" Makefile.in
}

src_install() {
	make install DESTDIR="${D}" || die
	prepalldocs
}