/[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.4 - (hide annotations) (download)
Fri Apr 8 23:57:23 2005 UTC (15 years, 3 months ago) by eradicator
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump.
(Portage version: 2.0.51.19)

1 eradicator 1.1 # Copyright 1999-2004 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 eradicator 1.4 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pixie/pixie-1.3.22.ebuild,v 1.3 2004/12/29 06:07:58 mr_bones_ Exp $
4 eradicator 1.1
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 eradicator 1.2 sys-devel/libtool
28 eradicator 1.1 >=sys-devel/automake-1.8"
29    
30     src_unpack() {
31     unpack ${A}
32    
33     cd ${S}
34     # These have been sent upstream, and rejected, but this is the
35     # "right way" -- eradicator
36     epatch ${FILESDIR}/${PN}-1.3.11-math.patch
37    
38     # Gentoo-specific stuff to fix the build/install process
39     epatch ${FILESDIR}/${PN}-1.3.11-gentoo.patch
40    
41 mr_bones_ 1.3 export WANT_AUTOMAKE=1.8
42 eradicator 1.2 export WANT_AUTOCONF=2.5
43     aclocal
44     libtoolize --force --copy
45     automake -a -f -c
46     autoconf
47 eradicator 1.1 }
48    
49     src_compile() {
50     ./configure --prefix=/opt/pixie || die
51     emake || die
52     }
53    
54     src_install() {
55     make DESTDIR=${D} install || die
56     dodoc AUTHORS ChangeLog DEVNOTES NEWS README
57    
58     insinto /etc/env.d
59     doins ${FILESDIR}/50pixie
60    
61     edos2unix ${D}/opt/pixie/shaders/*
62    
63     mv ${D}/opt/pixie/doc ${D}/usr/share/doc/${PF}/html
64     }

  ViewVC Help
Powered by ViewVC 1.1.20