summaryrefslogtreecommitdiff
blob: 12c031d686fc816b7a551fc053bef80ecdcd2359 (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-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Craig Joly <joly@ee.ualberta.ca>

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}/*
}