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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Oct 22 21:47:10 2004 UTC (16 years ago) by eradicator
Branch: MAIN
Version bump.

1 eradicator 1.1 # Copyright 1999-2004 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-1.3.20.ebuild,v 1.1 2004/09/22 07:41:29 eradicator Exp $
4    
5     inherit eutils
6    
7     IUSE="X"
8    
9     MY_PN="Pixie"
10     S="${WORKDIR}/${MY_PN}"
11    
12     DESCRIPTION="RenderMan like photorealistic renderer."
13     HOMEPAGE="http://pixie.sourceforge.net"
14     SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-src-${PV}.tgz"
15    
16     LICENSE="GPL-2"
17    
18     SLOT="0"
19     KEYWORDS="~x86 ~ppc ~sparc -amd64"
20    
21     RDEPEND="media-libs/jpeg
22     sys-libs/zlib
23     media-libs/tiff
24     X? ( virtual/x11 )"
25    
26     DEPEND="${RDEPEND}
27     >=sys-devel/automake-1.8"
28    
29     src_unpack() {
30     unpack ${A}
31    
32     cd ${S}
33     # These have been sent upstream, and rejected, but this is the
34     # "right way" -- eradicator
35     epatch ${FILESDIR}/${PN}-1.3.11-math.patch
36    
37     # Gentoo-specific stuff to fix the build/install process
38     epatch ${FILESDIR}/${PN}-1.3.11-gentoo.patch
39    
40     # redirecting aclocal to /dev/null because there are alot of warnings
41     # output for deprecated stuff in 1.8.5
42     WANT_AUTOMAKE=1.8 aclocal >& /dev/null
43     WANT_AUTOMAKE=1.8 automake
44     WANT_AUTOCONF=2.5 autoconf
45     }
46    
47     src_compile() {
48     ./configure --prefix=/opt/pixie || die
49     emake || die
50     }
51    
52     src_install() {
53     make DESTDIR=${D} install || die
54     dodoc AUTHORS ChangeLog DEVNOTES NEWS README
55    
56     insinto /etc/env.d
57     doins ${FILESDIR}/50pixie
58    
59     edos2unix ${D}/opt/pixie/shaders/*
60    
61     mv ${D}/opt/pixie/doc ${D}/usr/share/doc/${PF}/html
62     }

  ViewVC Help
Powered by ViewVC 1.1.20