/[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.4 - (hide annotations) (download)
Fri Mar 16 10:06:46 2007 UTC (13 years, 6 months ago) by opfer
Branch: MAIN
Changes since 1.3: +2 -2 lines
stable x86, 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 opfer 1.4 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-2.0.2-r1.ebuild,v 1.3 2007/03/14 23:42:28 eradicator 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 opfer 1.4 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