summaryrefslogtreecommitdiff
blob: d1e4b2eadc7b831da844ab9235b4cc7ffb4a6515 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.0.1-r2.ebuild,v 1.2 2002/07/11 06:30:27 drobbins Exp $

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

DEPEND="media-libs/imlib2"

src_compile() {

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

src_install () {

    make DESTDIR=${D} install || die
    rm -rf ${D}/usr/X11R6/doc
    dodoc AUTHORS COPYING ChangeLog README TODO
}