summaryrefslogtreecommitdiff
blob: 81874805dc7c1f72865de58789e153f0ed7a85c7 (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
36
37
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/iv/iv-0.1.10.ebuild,v 1.3 2004/07/14 17:45:13 agriffis Exp $

inherit eutils

DESCRIPTION="a basic image viewer"
SRC_URI="ftp://wolfpack.twu.net/users/wolfpack/${P}.tar.bz2"
HOMEPAGE="http://wolfpack.twu.net/utilities.html"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
IUSE=""

DEPEND=">=media-libs/imlib-1.9.13
	=x11-libs/gtk+-1.2*"

src_unpack() {
	unpack ${A}
	cd ${P}
	epatch ${FILESDIR}/${P}-gentoo.patch
}

src_compile() {
	cd iv
	emake || die
}

src_install() {
	dobin iv/iv
	dodir /usr/share/icons
	insinto /usr/share/icons
	doins iv/images/iv.xpm
	doman iv/iv.1
	dodoc LICENSE README
}