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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon Jul 18 12:12:46 2005 UTC (15 years ago) by eradicator
Branch: MAIN
Version bump.
(Portage version: 2.0.51.22-r1)

1 eradicator 1.1 # Copyright 1999-2005 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.4.3.ebuild,v 1.1 2005/07/11 05:42:23 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="-amd64 ~ppc ~sparc ~x86"
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.4.4-math.patch
37    
38     # Make the build process more cross-platform...
39     epatch ${FILESDIR}/${PN}-1.4.4-libtool.patch
40    
41     export WANT_AUTOMAKE=1.8
42     export WANT_AUTOCONF=2.5
43     libtoolize --force --copy || die
44     aclocal || die
45     automake -a -f -c || die
46     autoheader || die
47     autoconf || die
48     }
49    
50     src_install() {
51     make DESTDIR="${D}" install || die
52    
53     keepdir /usr/$(get_libdir)/Pixie/procedurals
54     keepdir /usr/share/Pixie/models
55    
56     insinto /usr/share/Pixie/textures
57     doins ${S}/textures/checkers.tif
58    
59     edos2unix ${D}/usr/share/Pixie/shaders/*
60     mv ${D}/usr/share/doc/Pixie ${D}/usr/share/doc/${PF}
61     }

  ViewVC Help
Powered by ViewVC 1.1.20