summaryrefslogtreecommitdiff
blob: 841073159d927c45d91e248f3c436a793757ff86 (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
35
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Craig Joly <joly@ee.ualberta.ca>
# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.1.0.ebuild,v 1.3 2001/10/29 07:40:18 lordjoe 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"

DEPEND="media-libs/imlib2"


src_compile() {

	./configure --prefix=/usr		\
		--mandir=/usr/share/man		\
		--infodir=/usr/share/info	\
		--host=${CHOST} || die
    
	emake || die
}

src_install () {

	make prefix=${D}/usr					\
		mandir=${D}/usr/share/man			\
		infodir=${D}/usr/share/info			\
		docsdir=${D}/usr/share/doc/${PF}	\
		install || die

	# gzip the docs
	gzip ${D}/usr/share/doc/${PF}/*
}