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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Sep 22 07:41:29 2004 UTC (15 years, 10 months ago) by eradicator
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump and cleanup.

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.11.ebuild,v 1.3 2004/07/19 19:10:39 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
34 epatch ${FILESDIR}/${P}-Makefile.patch
35 epatch ${FILESDIR}/${P}-gcc3.4.patch
36 epatch ${FILESDIR}/${P}-math.patch
37 epatch ${FILESDIR}/${P}-pic.patch
38
39 # Gentoo-specific stuff
40 epatch ${FILESDIR}/${P}-gentoo.patch
41
42 # redirecting aclocal to /dev/null because there are alot of warnings
43 # output for deprecated stuff in 1.8.5
44 WANT_AUTOMAKE=1.8 aclocal >& /dev/null
45 WANT_AUTOMAKE=1.8 automake
46 WANT_AUTOCONF=2.5 autoconf
47 }
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