summaryrefslogtreecommitdiff
blob: 85d7a7c74e14b581a4bd434983f8d44d2b293f85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/yafray/yafray-0.0.4.ebuild,v 1.4 2004/06/24 22:54:10 agriffis Exp $

DESCRIPTION="Yet Another Free Raytracer"
HOMEPAGE="http://www.yafray.org"
SRC_URI="http://www.coala.uniovi.es/~jandro/noname/downloads/${P}.tar.gz"

KEYWORDS="x86"
LICENSE="LGPL-2.1"
SLOT="0"

RDEPEND="media-libs/jpeg
	sys-libs/zlib"
DEPEND="${RDEPEND}
	>=sys-apps/sed-4"
IUSE=""

src_unpack() {
	unpack ${A}
	cd ${S}

	sed -i \
		-e "s-O3 -fomit-frame-pointer -ffast-math${CXXFLAGS}" \
			src/Makefile.am || \
				die "sed src/Makefile.am failed"
}

src_install() {
	einstall            || die
	dodoc AUTHORS       || die "dodoc failed"
	dohtml doc/doc.html || die "dohtml failed"
}