/[gentoo-x86]/media-gfx/pixie/pixie-2.0.2-r1.ebuild
Gentoo

Contents of /media-gfx/pixie/pixie-2.0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Mar 14 03:55:36 2007 UTC (13 years, 5 months ago) by eradicator
Branch: MAIN
Readded pixie-1.7.6 as the stable option.  Added fltk USE flag, revbumped, and pushed into ~arch for 2.0.2 as it should not have been pushed straight into stable.
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-2.0.2.ebuild,v 1.2 2007/03/12 17:23:26 gustavoz Exp $
4
5 IUSE="fltk openexr X"
6
7 MY_PN="Pixie"
8 S="${WORKDIR}/${MY_PN}"
9
10 DESCRIPTION="RenderMan like photorealistic renderer."
11 HOMEPAGE="http://pixie.sourceforge.net"
12 SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-src-${PV}.tgz"
13
14 LICENSE="GPL-2"
15
16 SLOT="0"
17 KEYWORDS="-*"
18 #KEYWORDS="~amd64 ~ppc ~sparc ~x86"
19
20 RDEPEND="media-libs/jpeg
21 sys-libs/zlib
22 media-libs/tiff
23 openexr? ( media-libs/openexr )
24 fltk? ( x11-libs/fltk )
25 X? ( x11-libs/libXext )"
26
27 src_compile() {
28 strip-flags
29 replace-flags -O? -O2
30
31 econf || die "econf failed"
32 emake -j1 || die "Make failed"
33 }
34
35
36 src_install() {
37 make DESTDIR="${D}" install || die
38
39 keepdir /usr/$(get_libdir)/Pixie/procedurals
40 keepdir /usr/share/Pixie/models
41
42 insinto /usr/share/Pixie/textures
43 doins ${S}/textures/checkers.tif
44
45 edos2unix ${D}/usr/share/Pixie/shaders/*
46 mv ${D}/usr/share/doc/Pixie ${D}/usr/share/doc/${PF}
47 }

  ViewVC Help
Powered by ViewVC 1.1.20