/[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.5 - (hide annotations) (download)
Fri Mar 16 16:49:10 2007 UTC (13 years, 4 months ago) by eradicator
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable sparc #160020 becasue 1.x experiences memory issues when compiling with newer versions of gcc.  If you use 3.4.x, stick with pixie-1.7.6 for now.  See bug #160020.
(Portage version: 2.1.2.2)

1 eradicator 1.1 # Copyright 1999-2007 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 eradicator 1.5 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-2.0.2-r1.ebuild,v 1.4 2007/03/16 10:06:46 opfer Exp $
4 eradicator 1.1
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 eradicator 1.5 KEYWORDS="~amd64 ~ppc sparc x86"
18 eradicator 1.1
19     RDEPEND="media-libs/jpeg
20     sys-libs/zlib
21     media-libs/tiff
22     openexr? ( media-libs/openexr )
23     fltk? ( x11-libs/fltk )
24     X? ( x11-libs/libXext )"
25    
26     src_compile() {
27     strip-flags
28     replace-flags -O? -O2
29    
30     econf || die "econf failed"
31     emake -j1 || die "Make failed"
32     }
33    
34    
35     src_install() {
36     make DESTDIR="${D}" install || die
37    
38     keepdir /usr/$(get_libdir)/Pixie/procedurals
39     keepdir /usr/share/Pixie/models
40    
41     insinto /usr/share/Pixie/textures
42     doins ${S}/textures/checkers.tif
43    
44     edos2unix ${D}/usr/share/Pixie/shaders/*
45     mv ${D}/usr/share/doc/Pixie ${D}/usr/share/doc/${PF}
46     }

  ViewVC Help
Powered by ViewVC 1.1.20