summaryrefslogtreecommitdiff
blob: 988134f3d864bfc9f3b32b3f3af0ae69eb6c5425 (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/pornview/pornview-0.1.1.ebuild,v 1.1 2002/11/17 16:59:07 agenkin Exp $

DESCRIPTION="Image viewer/manager with optional support for MPEG movies."
HOMEPAGE="http://pornview.sourceforge.net"
LICENSE="GPL-2"

DEPEND="media-libs/libpng
	>=media-libs/gdk-pixbuf-0.10
	=x11-libs/gtk+-1.2*
	mpeg? ( media-libs/xine-lib )"

SLOT="0"
KEYWORDS="~x86"
SRC_URI="mirror://sourceforge/pornview/${P}.tar.gz"
IUSE="mpeg"

S="${WORKDIR}/${P}"

src_compile() {
	local myflags=""
	use mpeg && myflags="${myflags} --with-xine"
	./configure $myflags\
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man || die "./configure failed"
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
}