summaryrefslogtreecommitdiff
blob: 36b5acd10c2505e5235e511843e22bd2247ad9f4 (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.1.ebuild,v 1.1 2002/02/25 20:29:16 karltk 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}/*
}