blob: be1813ee905e919cc2f559f252eb5872ae1a94d8 (
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
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/truevision/truevision-0.3.10.ebuild,v 1.7 2004/06/24 22:51:01 agriffis Exp $
inherit eutils
DESCRIPTION="Gnome frontend to Povray"
HOMEPAGE="http://truevision.sourceforge.net"
SRC_URI="mirror://sourceforge/truevision/${P}.tar.gz
mirror://sourceforge/truevision/${PN}-extramat-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="=x11-libs/gtk+-1.2*
gnome-base/gnome-libs
media-gfx/povray
sys-libs/zlib
virtual/opengl
<x11-libs/gtkglarea-1.99"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/truevision-0.3.10-gentoo2.patch || die
epatch ${FILESDIR}/truevision-0.3.10-gentoo3.patch || die
}
src_compile() {
econf || die
emake || die
}
src_install() {
einstall \
PACKAGE_MATERIALS_DIR=${D}/usr/share/truevision/materials \
PACKAGE_PIXMAPS_DIR=${D}/usr/share/pixmaps/truevision || die
dodoc AUTHORS COPYING README ChangeLog INSTALL TODO
cp -r ${S}/examples ${D}/usr/share/doc/${PF}/examples
cd ${WORKDIR}/${PN}-extramat-${PV} || die
cp -R materials ${D}/usr/share/truevision/materials/ || die
}
|