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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Mar 12 17:23:26 2007 UTC (13 years, 4 months ago) by gustavoz
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable on sparc wrt #160020
(Portage version: 2.1.2.2)

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

  ViewVC Help
Powered by ViewVC 1.1.20