/[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.2 - (show annotations) (download)
Tue Dec 28 08:18:02 2004 UTC (15 years, 7 months ago) by eradicator
Branch: MAIN
Changes since 1.1: +8 -6 lines
Version bump and fixing libtool related problems...  Closes bug #75186.

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.22.ebuild,v 1.1 2004/10/22 21:47:10 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/libtool
28 >=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 export WANT_AUTOMAKE=1.8
42 export WANT_AUTOCONF=2.5
43 aclocal
44 libtoolize --force --copy
45 automake -a -f -c
46 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