blob: b33418db750b14b1f61ad3ac48143a81d51c0ef0 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/giram/giram-0.3.5.ebuild,v 1.4 2006/12/10 03:30:54 vanquirius Exp $
inherit eutils libtool
DESCRIPTION="Giram (Giram is really a modeller). A 3d modeller for POV-ray"
HOMEPAGE="http://www.giram.org"
SRC_URI="http://www.giram.org/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2.0.0
>=dev-libs/glib-2.0.0
media-gfx/povray"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.12.0"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-fbsd.patch
# bug 154273
epatch "${FILESDIR}"/${PN}-0.3.5-tool_disc.diff
cd "${S}"/povfront
sed -i -e "s:strlen (g_config_file_to_parse) == 0:g_config_file_to_parse == NULL:" povfront.c
cd "${S}"; elibtoolize
}
src_compile() {
./configure \
--host=${CHOST} \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-tutorial-path=/usr/share/doc/${PF} \
--enable-bishop-s3d --enable-vik-specials || die "./configure failed"
emake || die
}
src_install () {
make DESTDIR="${D}" install || die
dodoc AUTHORS BUGS ANNOUNCE CONTRIBUTORS ChangeLog HACKING IDEAS NEWS README TODO
}
|