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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Mar 12 17:28:33 2007 UTC (13 years, 5 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
punt oldish, broken, etc etc
(Portage version: 2.1.2.2)

1 # Copyright 1999-2006 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.5.1.ebuild,v 1.2 2006/04/01 05:54:58 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? ( || ( x11-libs/libXext 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.7-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